BASIS icon indicating copy to clipboard operation
BASIS copied to clipboard

CUDA with BASIS

Open issamsaid opened this issue 6 years ago • 1 comments

CMake is now supporting CUDA as a native language. However it is not possible to use basis_add_libraray(TARGET files LANGUAGE CUDA) . The error message is :

 CMake Error at CMake-Basis/3.3.1/share/modules/TargetTools.cmake:519 (target_link_libraries):
   Target "cuda" of type UTILITY may not be linked into another target.
   One may link only to STATIC or SHARED libraries, or to executables with the
   ENABLE_EXPORTS property set.

Are they any plans to support CUDA?

issamsaid avatar Aug 29 '18 08:08 issamsaid