Skip to main content

cuKernelGetParamCount

Function cuKernelGetParamCount 

Source
pub unsafe extern "C" fn cuKernelGetParamCount(
    kernel: CUkernel,
    paramCount: *mut size_t,
) -> CUresult
Expand description

Returns the number of parameters used by the kernel.

Queries the number of kernel parameters used by kernel and returns it in paramCount.

Note that this function may also return error codes from previous, asynchronous launches.

§Parameters

  • kernel: The kernel to query.
  • paramCount: Returns the number of parameters used by the function.

§Return value

See also: cuKernelGetParamInfo.