hipdevicegetlimit Interface Reference#
hipfort::hipdevicegetlimit Interface Reference
Gets resource limits of current device. More...
Public Member Functions | |
| integer(kind(hipsuccess)) function | hipdevicegetlimit_ (pvalue, limit) |
Detailed Description
Gets resource limits of current device.
The function queries the size of limit value, as required by the input enum value hipLimit_t, which can be either hipLimitStackSize, or hipLimitMallocHeapSize. Any other input as default, the function will return hipErrorUnsupportedLimit.
- Parameters
-
[out] pValue Returns the size of the limit in bytes [in] limit The limit to query
- Returns
hipSuccess,hipErrorUnsupportedLimit,hipErrorInvalidValue
Member Function/Subroutine Documentation
◆ hipdevicegetlimit_()
| integer(kind(hipsuccess)) function hipfort::hipdevicegetlimit::hipdevicegetlimit_ | ( | integer(c_size_t) | pvalue, |
| integer(kind(hiplimitstacksize)), value | limit | ||
| ) |
The documentation for this interface was generated from the following file: