cuda.bindings._v2.driver.func_get_param_count#

cuda.bindings._v2.driver.func_get_param_count(intptr_t func) → size_t#

Returns the number of parameters used by the function.

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

Parameters:

func (intptr_t) – The function to query.

Returns:

Returns the number of parameters used by the function.

Return type:

size_t

See also

cuFuncGetParamCount