hipfreehost Interface Reference#
hipfort::hipfreehost Interface Reference
Frees page-locked memory This API performs an implicit hipDeviceSynchronize() call. More...
Public Member Functions | |
| integer(kind(hipsuccess)) function | hipfreehost_ (ptr) |
Detailed Description
Frees page-locked memory This API performs an implicit hipDeviceSynchronize() call.
If pointer is NULL, the hip runtime is initialized and hipSuccess is returned.
- Parameters
-
[in] ptr - Pointer to memory to be freed
- Returns
hipSuccess,hipErrorInvalidValue(if pointer is invalid, including device pointers allocated with hipMalloc)
Member Function/Subroutine Documentation
◆ hipfreehost_()
| integer(kind(hipsuccess)) function hipfort::hipfreehost::hipfreehost_ | ( | type(c_ptr), value | ptr | ) |
The documentation for this interface was generated from the following file: