This page contains proposed changes for a future release of ROCm. Read the latest Linux release of ROCm documentation for your production environments.

hipmemsetd32async Interface Reference

hipmemsetd32async Interface Reference#

HIPFORT API Reference: hipfort::hipmemsetd32async Interface Reference
hipfort::hipmemsetd32async Interface Reference

Fills the memory area pointed to by dev with the ant integer value for specified number of times. More...

Public Member Functions

integer(kind(hipsuccess)) function hipmemsetd32async_ (dst, myValue, count, stream)
 

Detailed Description

Fills the memory area pointed to by dev with the ant integer value for specified number of times.

hipMemsetD32Async() is asynchronous with respect to the host, so the call may return before the memset is complete. The operation can optionally be associated to a stream by passing a non-zero stream argument. If stream is non-zero, the operation may overlap with operations in other streams.

Parameters
[out]dstPointer to device memory
[in]value- Value to set for each byte of specified memory
[in]count- number of values to be set
[in]stream- Stream identifier
Returns
hipSuccess, hipErrorInvalidValue, hipErrorMemoryFree

Member Function/Subroutine Documentation

◆ hipmemsetd32async_()

integer(kind(hipsuccess)) function hipfort::hipmemsetd32async::hipmemsetd32async_ ( type(c_ptr), value  dst,
integer(c_int), value  myValue,
integer(c_size_t), value  count,
type(c_ptr), value  stream 
)

The documentation for this interface was generated from the following file: