Change the argument type to cl_platform_info.
authorFangjun KUANG <csukuangfj@gmail.com>
Wed, 15 Feb 2017 15:44:40 +0000 (16:44 +0100)
committerGitHub <noreply@github.com>
Wed, 15 Feb 2017 15:44:40 +0000 (16:44 +0100)
commit5e4dfb954688271f87ac9676a6eaad6622ce31ee
tree1ad975399244e9d3bd40e1b7f7607f1015353a08
parent47ae5f14f56f174109a22c08f424d941702f5484
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.
modules/core/src/ocl.cpp