hipmemallochost Interface Reference

hipmemallochost Interface Reference#

hipFORT API Reference: hipfort::hipmemallochost Interface Reference
hipfort::hipmemallochost Interface Reference

Allocate pinned host memory [Deprecated]. More...

Public Member Functions

integer(kind(hipsuccess)) function hipmemallochost_ (ptr, mysize)
 

Detailed Description

Allocate pinned host memory [Deprecated].

Parameters
[out]ptr- Pointer to the allocated host pinned memory
[in]mySize- Requested memory size

If size is 0, no memory is allocated, *ptr returns nullptr, and hipSuccess is returned.

Returns
hipSuccess, hipErrorOutOfMemory
Warning
This API is deprecated, use hipHostMalloc() instead

Member Function/Subroutine Documentation

◆ hipmemallochost_()

integer(kind(hipsuccess)) function hipfort::hipmemallochost::hipmemallochost_ ( type(c_ptr)  ptr,
integer(c_size_t), value  mysize 
)

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