diff --git a/bimsim.cu b/bimsim.cu index 8046786..c1c683f 100644 --- a/bimsim.cu +++ b/bimsim.cu @@ -228,7 +228,9 @@ void set_simulation(){ if (use_cuda) cuda_device = args["cuda"].as_int(); if (!stim::testDevice(cuda_device, cuda_major, cuda_minor)) { //make sure the device supports the necessary compute capability std::cout << "ERROR: CUDA device doesn't support compute capability " << cuda_major << "." << cuda_minor << std::endl; + stim::printDevice(cuda_device); exit(1); + use_cuda = false; } if(args["debug"].is_set()) g_debug_images = true; //set debug flags if(args["verbose"].is_set()) g_verbose = true; -- libgit2 0.21.4