C Specification
The dispatch_data field of a platform can be set using the following function:
// Provided by cl_khr_icd
cl_int clIcdSetPlatformDispatchDataKHR(
cl_platform_id platform,
void* dispatch_data);
clIcdSetPlatformDispatchDataKHR is provided by the cl_khr_icd extension.
|
Parameters
-
platform refers to the platform ID returned by clIcdGetPlatformIDsKHR
-
dispatch_data is the value to set the
dispatch_datafield of the structure to
Description
clIcdSetPlatformDispatchDataKHR returns CL_SUCCESS if the function is
executed successfully.
It returns CL_INVALID_ if platform is not a valid platform.
Document Notes
For more information, see the OpenCL Specification
This page is extracted from the OpenCL Specification. Fixes and changes should be made to the Specification, not directly.