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

hipmemsetd16async Interface Reference

hipmemsetd16async Interface Reference#

HIPFORT API Reference: hipfort::hipmemsetd16async Interface Reference
hipfort::hipmemsetd16async Interface Reference

Fills the first sizeBytes bytes of the memory area pointed to by dest with the ant short value value. More...

Public Member Functions

integer(kind(hipsuccess)) function hipmemsetd16async_ (dest, myValue, count, stream)
 

Detailed Description

Fills the first sizeBytes bytes of the memory area pointed to by dest with the ant short value value.

hipMemsetD16Async() 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]dstData ptr to be filled
[in]antvalue to be set
[in]numberof values to be set
[in]stream- Stream identifier
Returns
hipSuccess, hipErrorInvalidValue, hipErrorNotInitialized

Member Function/Subroutine Documentation

◆ hipmemsetd16async_()

integer(kind(hipsuccess)) function hipfort::hipmemsetd16async::hipmemsetd16async_ ( type(c_ptr), value  dest,
integer(c_short), value  myValue,
integer(c_size_t), value  count,
type(c_ptr), value  stream 
)

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