hipstreamattachmemasync Interface Reference

hipstreamattachmemasync Interface Reference#

HIPFORT API Reference: hipfort::hipstreamattachmemasync Interface Reference
hipfort::hipstreamattachmemasync Interface Reference

Attach memory to a stream asynchronously in HIP. More...

Public Member Functions

integer(kind(hipsuccess)) function hipstreamattachmemasync_ (stream, dev_ptr, length, flags)
 

Detailed Description

Attach memory to a stream asynchronously in HIP.

Parameters
[in]stream- stream in which to enqueue the attach operation
[in]dev_ptr- pointer to memory (must be a pointer to managed memory or to a valid host-accessible region of system-allocated memory)
[in]length- length of memory (defaults to zero)
[in]flags- must be one of hipMemAttachGlobal, hipMemAttachHost or hipMemAttachSingle (defaults to hipMemAttachSingle)
Returns
hipSuccess, hipErrorInvalidValue

Member Function/Subroutine Documentation

◆ hipstreamattachmemasync_()

integer(kind(hipsuccess)) function hipfort::hipstreamattachmemasync::hipstreamattachmemasync_ ( type(c_ptr), value  stream,
type(c_ptr), value  dev_ptr,
integer(c_size_t), value  length,
integer(c_int), value  flags 
)

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