CUDA_PTX_COMPILATIONΒΆ
Added in version 3.9.
Compile CUDA sources to .ptx
files instead of .obj
files
within Object Libraries.
For example:
add_library(myptx OBJECT a.cu b.cu)
set_property(TARGET myptx PROPERTY CUDA_PTX_COMPILATION ON)
Added in version 3.9.
Compile CUDA sources to .ptx
files instead of .obj
files
within Object Libraries.
For example:
add_library(myptx OBJECT a.cu b.cu)
set_property(TARGET myptx PROPERTY CUDA_PTX_COMPILATION ON)