cubecl_hip_sys

Function hipArray3DCreate

Source
pub unsafe extern "C" fn hipArray3DCreate(
    array: *mut hipArray_t,
    pAllocateArray: *const HIP_ARRAY3D_DESCRIPTOR,
) -> hipError_t
Expand description

@brief Create a 3D array memory pointer on the device.

@param[out] array Pointer to the 3D array memory @param[in] pAllocateArray Requested array desciptor

@return #hipSuccess, #hipErrorInvalidValue, #hipErrorNotSupported

@see hipMallocArray, hipArrayDestroy, hipFreeArray