cubecl_hip_sys

Function hipFreeArray

Source
pub unsafe extern "C" fn hipFreeArray(array: hipArray_t) -> hipError_t
Expand description

@brief Frees an array on the device.

@param[in] array Pointer to array to free @return #hipSuccess, #hipErrorInvalidValue, #hipErrorNotInitialized

@see hipMalloc, hipMallocPitch, hipFree, hipMallocArray, hipHostMalloc, hipHostFree