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. void* const char* Returns the address of the extension function with function_name. Returns 0 if no function with the given name exists. void Instructs the implementation to unload any compiler resources.