cubecl_hip_sys

Function hipArrayCreate

Source
pub unsafe extern "C" fn hipArrayCreate(
    pHandle: *mut hipArray_t,
    pAllocateArray: *const HIP_ARRAY_DESCRIPTOR,
) -> hipError_t
Expand description

@brief Create an array memory pointer on the device.

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

@return #hipSuccess, #hipErrorInvalidValue, #hipErrorNotSupported

@see hipMallocArray, hipArrayDestroy, hipFreeArray