Function pocky_opencl_program_free

Function Documentation

cl_int pocky_opencl_program_free(cl_program *prog)

Frees the given program handle.

Parameters:
  • prog[inout] Program to free; it is released and the pointer is set to NULL on return

Returns:

On success, CL_SUCCESS, otherwise an OpenCL error code