Skip to main content

hipMemsetD2D32Async

Function hipMemsetD2D32Async 

Source
pub unsafe extern "C" fn hipMemsetD2D32Async(
    dst: hipDeviceptr_t,
    dstPitch: usize,
    value: c_uint,
    width: usize,
    height: usize,
    stream: hipStream_t,
) -> hipError_t
Expand description

@brief Fills 2D memory range of ‘width’ 32-bit values asynchronously to the specified int value. Height specifies numbers of rows to set and dstPitch speicifies the number of bytes between each row. @param[in] dst Pointer to device memory @param[in] dstPitch Pitch of dst device pointer @param[in] value value to set @param[in] width Width of row @param[in] height Number of rows @param[in] stream Stream Identifier @returns #hipSuccess, #hipErrorInvalidValue