corrected hipDeviceGetProperties to hipGetDeviceProperties - not docs

这个提交包含在:
Aditya Atluri 于 2016-03-06 08:31:04 -06:00 提交
1 父节点 2fb97ae4d8
当前提交 0155e5b879
3 个文件已更改
+3 -3

没有与搜索条件相匹配的文件

+1 -1
查看文件
@@ -53,7 +53,7 @@ int main(int argc, char *argv[])
size_t Nbytes = N * sizeof(float);
hipDeviceProp_t props;
CHECK(hipDeviceGetProperties(&props, 0/*deviceID*/));
CHECK(hipGetDeviceProperties(&props, 0/*deviceID*/));
printf ("info: running on device %s\n", props.name);
printf ("info: allocate host mem (%6.2f MB)\n", 2*Nbytes/1024.0/1024.0);