We have some nightly build machines that have the cuda libraries installed, but which do not have a cuda-capable GPU installed. These machines are capable of building cuda-
Write a simple program like
#include int main (){ int deviceCount; cudaError_t e = cudaGetDeviceCount(&deviceCount); return e == cudaSuccess ? deviceCount : -1; }
and check the return value.