corrected hipDeviceGetProperties to hipGetDeviceProperties - not docs

此提交包含在:
Aditya Atluri committed 2016-03-06 08:31:04 -06:00
1 父節點 2fb97ae4d8
當前提交 0155e5b879
3 file changed
+3 -3

No files matched your search

+1 -1
查看文件
@@ -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);