What we need is to be able to look at a given kernel (cl_kernel) and tell not only how many parameters it has using
  • clGetKernelInfo(param_name=CL_KERNEL_NUM_ARGS)

but for each parameter to also query its type, which could be one of the following:
1. local
2. a memory-object
3. a sampler
4. data - in which case we also need to know the data-size

Any plans to support this in OpenCL-1.2?