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 constant 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 constant value.

Parameters
[out]dst- Pointer to 2D device memory
[in]pitch- Pitch size in bytes of 2D device memory, unused if height equals 1
[in]myValue- Constant value to set for each byte of specified memory
[in]width- Width size in bytes in 2D memory
[in]height- Height size in bytes in 2D memory
Returns
hipSuccess, hipErrorInvalidValue

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: