cubecl_hip_sys

Function hipMemset3D

Source
pub unsafe extern "C" fn hipMemset3D(
    pitchedDevPtr: hipPitchedPtr,
    value: c_int,
    extent: hipExtent,
) -> hipError_t
Expand description

@brief Fills synchronously the memory area pointed to by pitchedDevPtr with the constant value.

@param[in] pitchedDevPtr Pointer to pitched device memory @param[in] value Value to set for each byte of specified memory @param[in] extent Size parameters for width field in bytes in device memory @return #hipSuccess, #hipErrorInvalidValue