-
Notifications
You must be signed in to change notification settings - Fork 72
Cuda support #571
Copy link
Copy link
Open
Description
Hi,
ive been using CMakeCommon for a while now, but ive not been able to compile any library which uses CUDA.
If I try to compile using cuda_add_library, CMakeCommon complains that the target is not exported, but if I try to compile using common_library, g++ is used and not nvcc.
I believe that I should modify CMAKE_C_COMPILER and CMAKE_CXX_COMPILER to use nvcc and a compatible gcc compiler. I thought that was that CommonCUDA did, but it seems there is a bug in the string(REGEX REPLACE) command.
What should I do?
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels