Simply adding two parentheses cl(...)
gives you error checking for OpenCL API functions that return a cl_int error code.
The second cl_ok(err)
macro is for error checking API functions that initialize their error code as an argument.
The header also includes a useful function for converting OpenCL errors to strings:
char const * clGetErrorString(cl_int const err);