concept NULL in category opencl

appears as: NULL
OpenCL in Action: How to Accelerate Graphics and Computation

This is an excerpt from Manning's book OpenCL in Action: How to Accelerate Graphics and Computation.

cl_platform_id *platforms;
cl_uint num_platforms;

clGetPlatformIDs(5, NULL, &num_platforms);

platforms = (cl_platform_id*)
    malloc(sizeof(cl_platform_id) * num_platforms);

clGetPlatformIDs(num_platforms, platforms, NULL);

Both functions accept a cl_context_properties pointer and a void pointer that identifies user data. It’s important to distinguish between these two parameters. The user_data argument can point to any data you like, and its purpose is to provide information when an error occurs. In contrast, the properties pointer must identify an array of names and values whose last element must be 0. Both arguments can be set to NULL.

But a host application can tell the device to allocate local memory for a kernel argument. To configure this in code, set the last argument of clSetKernelArg to NULL. For example, the following code, executed by the host, configures a local argument to occupy space sufficient to hold 16 floats: