corrected hipDeviceGetProperties to hipGetDeviceProperties - not docs
This commit is contained in:
1 bovenliggende
2fb97ae4d8
commit
0155e5b879
3 files changed
+3
-3
No files matched your search
@@ -60,7 +60,7 @@ int main(int argc, char *argv[])
|
||||
int deviceId;
|
||||
CHECK (hipGetDevice(&deviceId));
|
||||
hipDeviceProp_t props;
|
||||
CHECK(hipDeviceGetProperties(&props, deviceId));
|
||||
CHECK(hipGetDeviceProperties(&props, deviceId));
|
||||
printf ("info: running on device #%d %s\n", deviceId, props.name);
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user