在 3.27 版被加入.
Compile CUDA sources to .fatbin files instead of .obj files within 物件程式庫.
.fatbin
.obj
For example:
add_library(myfbins OBJECT a.cu b.cu) set_property(TARGET myfbins PROPERTY CUDA_FATBIN_COMPILATION ON)
CUDA_EXTENSIONS
CUDA_OPTIX_COMPILATION