cubecl_hip_sys

Function hipMemset3DAsync

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

@brief Fills asynchronously 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 @param[in] stream Stream identifier @return #hipSuccess, #hipErrorInvalidValue