corrected hipDeviceGetProperties to hipGetDeviceProperties - not docs
This commit is contained in:
1 parent
2fb97ae4d8
commit
0155e5b879
3 files changed
+3
-3
No files matched your search
@@ -73,7 +73,7 @@ void printDeviceProp (int deviceId)
|
||||
cout << setw(w1) << "device#" << deviceId << endl;
|
||||
|
||||
hipDeviceProp_t props;
|
||||
HIPCHECK(hipDeviceGetProperties(&props, deviceId));
|
||||
HIPCHECK(hipGetDeviceProperties(&props, deviceId));
|
||||
|
||||
cout << setw(w1) << "Name: " << props.name << endl;
|
||||
cout << setw(w1) << "pciBusID: " << props.pciBusID << endl;
|
||||
|
||||
Reference in new issue
Block a user