hipdevsmresourcesplit Interface Reference#
hipfort::hipdevsmresourcesplit Interface Reference
Splits SM resources into structured groups. More...
Public Member Functions | |
| integer(kind(hipsuccess)) function | hipdevsmresourcesplit_ (myresult, nbgroups, input, remainder, flags, groupparams) |
Detailed Description
Splits SM resources into structured groups.
- Parameters
-
[out] result - Output device resource pointer [in] nbGroups - The poiter specifying the number of groups [in] input - Valid input SM resource to be split [in] remainder - If the input resource cannot be evenly split among nbGroups, the remaining resourced are returned through this parameter. [in] flags - Flags specifying partition usage and constraints to apply when splitting the inout resource. [in] groupParams - Describes how the SM resources should be partitioned and assigned to the corresponding result entries.
- Returns
hipSuccess,hipErrorInvalidValue,hipErrorInvalidResourceType,hipErrorInvalidResourceConfiguration,hipErrorInvalidDevice
Member Function/Subroutine Documentation
◆ hipdevsmresourcesplit_()
| integer(kind(hipsuccess)) function hipfort::hipdevsmresourcesplit::hipdevsmresourcesplit_ | ( | type(hipdevresource) | myresult, |
| integer(c_int), value | nbgroups, | ||
| type(hipdevresource) | input, | ||
| type(hipdevresource) | remainder, | ||
| integer(c_int), value | flags, | ||
| type(hipdevsmresourcegroupparams) | groupparams | ||
| ) |
The documentation for this interface was generated from the following file: