//list the properties
std::cout << "Name: " << prop.name << std::endl; std::cout << "Compute Capability: " << prop.major << '.' << prop.minor << std::endl; std::cout << "Total Global Memory: " << prop.totalGlobalMem << std::endl; std::cout << "Max Threads per block: " << prop.maxThreadsPerBlock << std::endl; std::cout << "Clock Rate in khz: " << prop.clockRate << "\n\n";