Function pocky_opencl_queues_free_all

Function Documentation

cl_int pocky_opencl_queues_free_all(cl_uint *num_queues, cl_command_queue **queues)

Frees all command queues in the given array.

Parameters:
  • num_queues[inout] Number of command queues in the array, set to zero on return

  • queues[inout] Array of command queues; each is released, the handle is set to NULL, and the container itself is freed on return

Returns:

On success, CL_SUCCESS, otherwise an OpenCL error code