hipdevicegetdevresource Interface Reference#
hipfort::hipdevicegetdevresource Interface Reference
Gets device resource of a given type for a device. More...
Public Member Functions | |
| integer(kind(hipsuccess)) function | hipdevicegetdevresource_ (device, resource, mytype) |
Detailed Description
Gets device resource of a given type for a device.
- Parameters
-
[out] resource - Output device resource pointer [in] device - Device to get resource for [in] type - Type of resource to retrieve
- Returns
hipSuccess,hipErrorInvalidValue,hipErrorInvalidResourceType,hipErrorInvalidDevice
Member Function/Subroutine Documentation
◆ hipdevicegetdevresource_()
| integer(kind(hipsuccess)) function hipfort::hipdevicegetdevresource::hipdevicegetdevresource_ | ( | integer(c_int), value | device, |
| type(hipdevresource) | resource, | ||
| integer(kind(hipdevresourcetypeinvalid)), value | mytype | ||
| ) |
The documentation for this interface was generated from the following file: