Projects
home:pSomng:branches:openEuler:24.03
mvapich2
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 4
View file
_service:tar_scm:1001-update-risv-support.patch
Changed
@@ -1,3 +1,21 @@ +diff --git a/src/mpid/ch3/channels/common/include/mv2_clock.h b/src/mpid/ch3/channels/common/include/mv2_clock.h +index 77552c4..9a9dfd6 100644 +--- a/src/mpid/ch3/channels/common/include/mv2_clock.h ++++ b/src/mpid/ch3/channels/common/include/mv2_clock.h +@@ -93,6 +93,13 @@ static inline cycles_t get_cycles() + return ret; + } + ++#elif defined(__riscv) ++// this function don't call ++static inline cycles_t get_cycles() ++{ ++ return 0; ++} ++ + #else + #warning get_cycles not implemented for this architecture: attempt asm/timex.h + #include <asm/timex.h> diff --git a/src/mpid/ch3/channels/common/src/util/mv2_clock.c b/src/mpid/ch3/channels/common/src/util/mv2_clock.c index 4d9eb0a..a20fcfe 100644 --- a/src/mpid/ch3/channels/common/src/util/mv2_clock.c
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2