I installed Terra with -DTERRA_ENABLE_CMAKE flag ON, and my CmakeCache information contains:
_//Compile device code in 64 bit mode
CUDA_64_BIT_DEVICE_CODE:BOOL=ON
//Attach the build rule to the CUDA source file. Enable only when
// the CUDA source file is added to at most one target.
CUDA_ATTACH_VS_BUILD_RULE_TO_CUDA_FILE:BOOL=ON
//Generate and parse .cubin files in Device mode.
CUDA_BUILD_CUBIN:BOOL=OFF
//Build in Emulation mode
CUDA_BUILD_EMULATION:BOOL=OFF
I installed Terra with -DTERRA_ENABLE_CMAKE flag ON, and my CmakeCache information contains:
_//Compile device code in 64 bit mode CUDA_64_BIT_DEVICE_CODE:BOOL=ON
//Attach the build rule to the CUDA source file. Enable only when // the CUDA source file is added to at most one target. CUDA_ATTACH_VS_BUILD_RULE_TO_CUDA_FILE:BOOL=ON
//Generate and parse .cubin files in Device mode. CUDA_BUILD_CUBIN:BOOL=OFF
//Build in Emulation mode CUDA_BUILD_EMULATION:BOOL=OFF
//"cudart" library CUDA_CUDART_LIBRARY:FILEPATH=/usr/local/cuda-8.0/lib64/libcudart.so
//"cuda" library (older versions only). CUDA_CUDA_LIBRARY:FILEPATH=/usr/lib/x8664-linux-gnu/libcuda.so
But when I run cudatest.t, it is said that: "CUDA not enabled, not performing test..." Please help.