hipmallochost Interface Reference

hipmallochost Interface Reference#

HIPFORT API Reference: hipfort::hipmallochost Interface Reference
hipfort::hipmallochost Interface Reference

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

Public Member Functions

integer(kind(hipsuccess)) function hipmallochost_ (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

◆ hipmallochost_()

integer(kind(hipsuccess)) function hipfort::hipmallochost::hipmallochost_ ( type(c_ptr)  ptr,
integer(c_size_t), value  mysize 
)

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