Function cl3::kernel::get_kernel_arg_info
source · pub fn get_kernel_arg_info(
kernel: cl_kernel,
arg_indx: cl_uint,
param_name: cl_kernel_arg_info
) -> Result<InfoType, cl_int>
Expand description
Get specific information about arguments of an OpenCL
kernel.
Calls clGetKernelArgInfo to get the desired information about the kernel.
kernel
- theOpenCL
kernel.arg_index
- the kernel argument index.param_name
- the type of kernel information being queried, see: Kernel Argument Queries.
returns a Result containing the desired information in an InfoType
enum
or the error code from the OpenCL
C API function.