corrected hipDeviceGetProperties to hipGetDeviceProperties - not docs

This commit is contained in:
Aditya Atluri
2016-03-06 08:31:04 -06:00
parent 2fb97ae4d8
commit 0155e5b879
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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);