-
Notifications
You must be signed in to change notification settings - Fork 112
ODR issues with SYCL #1953
Copy link
Copy link
Open
Labels
sycl supportsycl backend supportsycl backend support
Description
There are ODR issue when two libraries use RAJA, one with SYCL enabled and one without.
The #ifdef code logic in launchcore methods result in two definitions being created.
A possible solution discussed in #1974 would be to use forced inlining of the methods with the #ifdef logic.
There are some macros to force inlining for various compilers in here:
https://github.com/LLNL/RAJA/blob/develop/include/RAJA/config.hpp.in#L411
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
sycl supportsycl backend supportsycl backend support