CUDA_OPTIX_COMPILATION¶
在 3.27 版被加入.
Compile CUDA sources to .optixir
files instead of .obj
files
within Object Libraries.
For example:
add_library(myoptix OBJECT a.cu b.cu)
set_property(TARGET myoptix PROPERTY CUDA_OPTIX_COMPILATION ON)
在 3.27 版被加入.
Compile CUDA sources to .optixir
files instead of .obj
files
within Object Libraries.
For example:
add_library(myoptix OBJECT a.cu b.cu)
set_property(TARGET myoptix PROPERTY CUDA_OPTIX_COMPILATION ON)