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

hipmemset2d Interface Reference

hipmemset2d Interface Reference#

HIPFORT API Reference: hipfort::hipmemset2d Interface Reference
hipfort::hipmemset2d Interface Reference

Fills the memory area pointed to by dst with the ant value. More...

Public Member Functions

integer(kind(hipsuccess)) function hipmemset2d_ (dst, pitch, myValue, width, height)
 

Detailed Description

Fills the memory area pointed to by dst with the ant value.

Parameters
[out]dstPointer to device memory
[in]pitch- data size in bytes
[in]value- ant value to be set
[in]width
[in]height
Returns
hipSuccess, hipErrorInvalidValue, hipErrorMemoryFree

Member Function/Subroutine Documentation

◆ hipmemset2d_()

integer(kind(hipsuccess)) function hipfort::hipmemset2d::hipmemset2d_ ( type(c_ptr), value  dst,
integer(c_size_t), value  pitch,
integer(c_int), value  myValue,
integer(c_size_t), value  width,
integer(c_size_t), value  height 
)

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