提交 5e4dfb95 编写于 作者: F Fangjun KUANG 提交者: GitHub

Change the argument type to cl_platform_info.

Although both `cl_platform_info` and `cl_device_info` are defined as macro `cl_uint`, it needs to use `cl_platform_info` to get
the platform information.
上级 47ae5f14
......@@ -5528,7 +5528,7 @@ struct PlatformInfo::Impl
getDevices(devices, handle);
}
String getStrProp(cl_device_info prop) const
String getStrProp(cl_platform_info prop) const
{
char buf[1024];
size_t sz=0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册