pub unsafe extern "C" fn cuParamSetSize(
hfunc: CUfunction,
numbytes: c_uint,
) -> CUresult
Expand description
\brief Sets the parameter size for the function
\deprecated
Sets through \p numbytes the total size in bytes needed by the function parameters of the kernel corresponding to \p hfunc.
\param hfunc - Kernel to set parameter size for \param numbytes - Size of parameter list in bytes
\return ::CUDA_SUCCESS, ::CUDA_ERROR_DEINITIALIZED, ::CUDA_ERROR_NOT_INITIALIZED, ::CUDA_ERROR_INVALID_CONTEXT, ::CUDA_ERROR_INVALID_VALUE \notefnerr
\sa ::cuFuncSetBlockShape, ::cuFuncSetSharedSize, ::cuFuncGetAttribute, ::cuParamSetf, ::cuParamSeti, ::cuParamSetv, ::cuLaunch, ::cuLaunchGrid, ::cuLaunchGridAsync, ::cuLaunchKernel