#include using namespace std; #include #include // This example simply looks for any CUDA compatible devices // on the sstem and prints out their properties if it finds any int main(int narg, char *argv[]) { // Get number of CUDA devices int deviceCount=0; cudaGetDeviceCount(&deviceCount); printf("There %d CUDA devices available.\n", deviceCount); // Loop over devices, printing properties of each int device; for(device=0; device