pub unsafe extern "C" fn cuMipmappedArrayGetLevel(
pLevelArray: *mut CUarray,
hMipmappedArray: CUmipmappedArray,
level: c_uint,
) -> CUresultExpand description
Gets a mipmap level of a CUDA mipmapped array.
Returns in *pLevelArray a CUDA array that represents a single mipmap level of the CUDA mipmapped array hMipmappedArray.
If level is greater than the maximum number of levels in this mipmapped array, cudaError_enum::CUDA_ERROR_INVALID_VALUE is returned.
Note that this function may also return error codes from previous, asynchronous launches.
§Parameters
pLevelArray: Returned mipmap level CUDA array.hMipmappedArray: CUDA mipmapped array.level: Mipmap level.
§Return value
CUresult::CUDA_SUCCESSCUresult::CUDA_ERROR_DEINITIALIZEDCUresult::CUDA_ERROR_NOT_INITIALIZEDCUresult::CUDA_ERROR_INVALID_CONTEXTCUresult::CUDA_ERROR_INVALID_VALUECUresult::CUDA_ERROR_INVALID_HANDLE
See also: cuMipmappedArrayCreate, cuMipmappedArrayDestroy, cuArrayCreate, cudaGetMipmappedArrayLevel.