Function cl3::kernel::get_kernel_info
source · pub fn get_kernel_info(
kernel: cl_kernel,
param_name: cl_kernel_info
) -> Result<InfoType, cl_int>
Expand description
Get specific information about an OpenCL
kernel.
Calls clGetKernelInfo to get the desired information about the kernel.
kernel
- theOpenCL
kernel.param_name
- the type of kernel information being queried, see: Kernel Object Queries.
returns a Result containing the desired information in an InfoType
enum
or the error code from the OpenCL
C API function.