generate cl_set_kernel_args automatically