cl_int
clReleaseContext
(
| cl_context context) |
After the context
reference count becomes zero and all the objects
attached to context
(such as memory objects, command-queues)
are released, the context
is deleted.
Returns CL_SUCCESS if the function is executed successfully. Otherwise, it returns one of the following errors:
context
is not
a valid OpenCL context.
clCreateContext, clCreateContextFromType, clGetContextInfo, clRetainContext, clGetContextInfo