hipmemcreate Interface Reference#
hipfort::hipmemcreate Interface Reference
Creates a memory allocation described by the properties and size. More...
Public Member Functions | |
| integer(kind(hipsuccess)) function | hipmemcreate_ (handle, mysize, prop, flags) |
Detailed Description
Creates a memory allocation described by the properties and size.
- Parameters
-
[out] handle - value of the returned handle. [in] size - size of the allocation. [in] prop - properties of the allocation. [in] flags - currently unused, must be zero.
- Returns
hipSuccess,hipErrorInvalidValue,hipErrorNotSupported
- Warning
- This API is marked as Beta. While this feature is complete, it can change and might have outstanding issues.
- Note
- This API is implemented on Linux and is under development on Microsoft Windows.
Member Function/Subroutine Documentation
◆ hipmemcreate_()
| integer(kind(hipsuccess)) function hipfort::hipmemcreate::hipmemcreate_ | ( | type(c_ptr) | handle, |
| integer(c_size_t), value | mysize, | ||
| type(hipmemallocationprop) | prop, | ||
| integer(c_int64_t), value | flags | ||
| ) |
The documentation for this interface was generated from the following file: