Function hip_sys::hiprt::hipMalloc3DArray
source · pub unsafe extern "C" fn hipMalloc3DArray(
array: *mut *mut hipArray,
desc: *const hipChannelFormatDesc,
extent: hipExtent,
flags: u32
) -> hipError_tExpand description
@brief Allocate an array on the device.
@param[out] array Pointer to allocated array in device memory @param[in] desc Requested channel format @param[in] extent Requested array allocation width, height and depth @param[in] flags Requested properties of allocated array @return #hipSuccess, #hipErrorOutOfMemory
@see hipMalloc, hipMallocPitch, hipFree, hipFreeArray, hipHostMalloc, hipHostFree