hipmemgetaccess Interface Reference

hipmemgetaccess Interface Reference#

hipFORT API Reference: hipfort::hipmemgetaccess Interface Reference
hipfort::hipmemgetaccess Interface Reference

Get the access flags set for the given location and ptr. More...

Public Member Functions

integer(c_int) function hipmemgetaccess_ (flags, location, ptr)
 
integer(kind(hipsuccess)) function hipmemgetaccess_typed (flags, location, ptr)
 

Detailed Description

Get the access flags set for the given location and ptr.

Parameters
[out]flags- flags for this location.
[in]location- target location.
[in]ptr- address to check the access flags.
Returns
hipSuccess, hipErrorInvalidValue, hipErrorNotSupported
Note
This API is implemented on Linux and is under development on Microsoft Windows.

Member Function/Subroutine Documentation

◆ hipmemgetaccess_()

integer(c_int) function hipfort::hipmemgetaccess::hipmemgetaccess_ ( type(c_ptr), value  flags,
type(hipmemlocation)  location,
type(c_ptr), value  ptr 
)

◆ hipmemgetaccess_typed()

integer(kind(hipsuccess)) function hipfort::hipmemgetaccess::hipmemgetaccess_typed ( integer(c_int64_t), target  flags,
type(hipmemlocation)  location,
type(c_ptr), value  ptr 
)

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