pub unsafe extern "C" fn cuParamSeti(
hfunc: CUfunction,
offset: c_int,
value: c_uint,
) -> CUresult
Expand description
\brief Adds an integer parameter to the function’s argument list
\deprecated
Sets an integer parameter that will be specified the next time the kernel corresponding to \p hfunc will be invoked. \p offset is a byte offset.
\param hfunc - Kernel to add parameter to \param offset - Offset to add parameter to argument list \param value - Value of parameter
\return ::CUDA_SUCCESS, ::CUDA_ERROR_DEINITIALIZED, ::CUDA_ERROR_NOT_INITIALIZED, ::CUDA_ERROR_INVALID_CONTEXT, ::CUDA_ERROR_INVALID_VALUE \notefnerr
\sa ::cuFuncSetBlockShape, ::cuFuncSetSharedSize, ::cuFuncGetAttribute, ::cuParamSetSize, ::cuParamSetf, ::cuParamSetv, ::cuLaunch, ::cuLaunchGrid, ::cuLaunchGridAsync, ::cuLaunchKernel