pub unsafe extern "C" fn hipMallocArray(
array: *mut hipArray_t,
desc: *const hipChannelFormatDesc,
width: usize,
height: usize,
flags: c_uint,
) -> hipError_t
Expand 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] width Requested array allocation width @param[in] height Requested array allocation height @param[in] flags Requested properties of allocated array @return #hipSuccess, #hipErrorOutOfMemory
@see hipMalloc, hipMallocPitch, hipFree, hipFreeArray, hipHostMalloc, hipHostFree