cubecl_hip_sys

Function hipMalloc3D

Source
pub unsafe extern "C" fn hipMalloc3D(
    pitchedDevPtr: *mut hipPitchedPtr,
    extent: hipExtent,
) -> hipError_t
Expand description

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

@param[out] pitchedDevPtr Pointer to the 3D memory @param[in] extent Requested extent

@return #hipSuccess, #hipErrorInvalidValue, #hipErrorNotSupported

@see hipMallocPitch, hipMemGetInfo, hipFree