When setting kernel arguments I must use the argument index - first argument is index 0, second arg is index 1, etc. But how can I abstract these indices to the actual argument names? What I would like to do is pass a string and be told the argument index to use in clSetKernelArg.
Using clGetKernelInfo I can get the number of args to a kernel but I can't see how to get info about these args - name, type, etc. This would be really useful
TIA.