Function pocky_opencl_device_query_all

Function Documentation

cl_int pocky_opencl_device_query_all(cl_platform_id plat, pocky_opencl_device_query_entry **entries)

Creates a linked list of all available devices for a platform.

Parameters:
  • plat[in] Platform whose devices will be queried

  • entries[out] Available devices for plat

Returns:

On success, CL_SUCCESS, otherwise an OpenCL error code