Represents a compute platform. The platform class provides an interface to an OpenCL platform. cl_platform_id Creates a new platform object for id. const platform & Creates a new platform object as a copy of other. const platform & Copies the platform from other. Destroys the platform object. cl_platform_id Returns the ID of the platform. std::string Returns the name of the platform. std::string Returns the name of the vendor of the platform. T cl_platform_info Returns information about the platform. std::vector<device> cl_device_type CL_DEVICE_TYPE_ALL Returns a vector of devices for the platform. size_t cl_device_type CL_DEVICE_TYPE_ALL Returns the number of devices on the platform. std::vector<platform> Returns a vector of all the OpenCL platforms available on the system. size_t Returns the total number of OpenCL platforms available on the system.