CUDA fix bug with listing device names
This commit is contained in:
parent
153b6f2105
commit
39a63b7d32
@ -321,6 +321,7 @@ void parseArguments(int argc, char *argv[])
|
||||
std::cout << "Devices:" << std::endl;
|
||||
for (int i = 0; i < count; i++)
|
||||
{
|
||||
cudaSetDevice(i);
|
||||
std::cout << i << ": " << getDeviceName() << std::endl;
|
||||
}
|
||||
std::cout << std::endl;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user