hipdevsmresourcesplitbycount Interface Reference#
hipfort::hipdevsmresourcesplitbycount Interface Reference
Splits SM resources into groups containing the specified number of SMs. More...
Public Member Functions | |
| integer(kind(hipsuccess)) function | hipdevsmresourcesplitbycount_ (myresult, nbgroups, input, remainder, flags, mincount) |
Detailed Description
Splits SM resources into groups containing the specified number of SMs.
- 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] minCount - Specifies the minimum number of SMs required
- Returns
hipSuccess,hipErrorInvalidValue,hipErrorInvalidResourceType,hipErrorInvalidDevice,hipErrorNotSupported
Member Function/Subroutine Documentation
◆ hipdevsmresourcesplitbycount_()
| integer(kind(hipsuccess)) function hipfort::hipdevsmresourcesplitbycount::hipdevsmresourcesplitbycount_ | ( | type(hipdevresource) | myresult, |
| type(c_ptr), value | nbgroups, | ||
| type(hipdevresource) | input, | ||
| type(hipdevresource) | remainder, | ||
| integer(c_int), value | flags, | ||
| integer(c_int), value | mincount | ||
| ) |
The documentation for this interface was generated from the following file: