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

hipmemset Interface Reference

hipmemset Interface Reference#

HIPFORT API Reference: hipfort::hipmemset Interface Reference
hipfort::hipmemset Interface Reference

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

Public Member Functions

integer(kind(hipsuccess)) function hipmemset_ (dst, myValue, sizeBytes)
 

Detailed Description

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

Parameters
[out]dstData being filled
[in]antvalue to be set
[in]sizeBytesData size in bytes
Returns
hipSuccess, hipErrorInvalidValue, hipErrorNotInitialized

Member Function/Subroutine Documentation

◆ hipmemset_()

integer(kind(hipsuccess)) function hipfort::hipmemset::hipmemset_ ( type(c_ptr), value  dst,
integer(c_int), value  myValue,
integer(c_size_t), value  sizeBytes 
)

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