pub unsafe extern "C" fn cuDeviceGetTexture1DLinearMaxWidth(
maxWidthInElements: *mut usize,
format: CUarray_format,
numChannels: c_uint,
dev: CUdevice,
) -> CUresult
Expand description
\brief Returns the maximum number of elements allocatable in a 1D linear texture for a given texture element size.
Returns in \p maxWidthInElements the maximum number of texture elements allocatable in a 1D linear texture for given \p format and \p numChannels.
\param maxWidthInElements - Returned maximum number of texture elements allocatable for given \p format and \p numChannels. \param format - Texture format. \param numChannels - Number of channels per texture element. \param dev - Device handle.
\return ::CUDA_SUCCESS, ::CUDA_ERROR_DEINITIALIZED, ::CUDA_ERROR_NOT_INITIALIZED, ::CUDA_ERROR_INVALID_CONTEXT, ::CUDA_ERROR_INVALID_VALUE, ::CUDA_ERROR_INVALID_DEVICE \notefnerr
\sa ::cuDeviceGetAttribute, ::cuDeviceGetCount, ::cuDeviceGetName, ::cuDeviceGetUuid, ::cuDeviceGet, ::cudaMemGetInfo, ::cuDeviceTotalMem