- 博客(2)
- 资源 (1)
- 收藏
- 关注
转载 Easiest way to test for existence of cuda-capable GPU from cmake?
#include<cuda.h>int main (){ int deviceCount; cudaError_t e = cudaGetDeviceCount(&deviceCount); return e == cudaSuccess ? deviceCount : -1;}
2019-01-31 03:30:44 158
转载 CMake Set temporarily the policy CMP0074 to OLD
I'm not sure thatif(POLICY CMP0074) # TODO: # 1. Find*.cmake modules need to be individually verified. # 2. PCLConfig.cmake needs to be changed. cmake_policy(SET CMP0074 OLD)endif()in th...
2019-01-31 03:29:57 1649
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人