pub unsafe extern "C" fn cuFuncSetBlockShape(
hfunc: CUfunction,
x: c_int,
y: c_int,
z: c_int,
) -> CUresult
Expand description
\brief Sets the block-dimensions for the function
\deprecated
Specifies the \p x, \p y, and \p z dimensions of the thread blocks that are created when the kernel given by \p hfunc is launched.
\param hfunc - Kernel to specify dimensions of \param x - X dimension \param y - Y dimension \param z - Z dimension
\return ::CUDA_SUCCESS, ::CUDA_ERROR_DEINITIALIZED, ::CUDA_ERROR_NOT_INITIALIZED, ::CUDA_ERROR_INVALID_CONTEXT, ::CUDA_ERROR_INVALID_HANDLE, ::CUDA_ERROR_INVALID_VALUE \notefnerr
\sa ::cuFuncSetSharedSize, ::cuFuncSetCacheConfig, ::cuFuncGetAttribute, ::cuParamSetSize, ::cuParamSeti, ::cuParamSetf, ::cuParamSetv, ::cuLaunch, ::cuLaunchGrid, ::cuLaunchGridAsync, ::cuLaunchKernel