The OpenCL is designed to support devices with different capabilities under a single platform. This includes devices which conform to different versions of the OpenCL specification. While writing an OpenCL based application one needs to query the implementation about the supported version in the platform. There are mainly two different types of version identifiers to consider.
Now let's write an OpenCL program to get the platform details. Use the
get_platform_property example in this chapter.
The OpenCL ...