hipexecutionctxgetdevresource Interface Reference#
hipfort::hipexecutionctxgetdevresource Interface Reference
Returns the device resource of a given type for an execution context. More...
Public Member Functions | |
| integer(kind(hipsuccess)) function | hipexecutionctxgetdevresource_ (ctx, resource, mytype) |
Detailed Description
Returns the device resource of a given type for an execution context.
- Parameters
-
[out] resource - Output pointer that receives the structured device resource [in] ctx - Execution context to get resource for [in] type - Type of device resource
- Returns
hipSuccess,hipErrorInvalidValue
Member Function/Subroutine Documentation
◆ hipexecutionctxgetdevresource_()
| integer(kind(hipsuccess)) function hipfort::hipexecutionctxgetdevresource::hipexecutionctxgetdevresource_ | ( | type(c_ptr), value | ctx, |
| type(hipdevresource) | resource, | ||
| integer(kind(hipdevresourcetypeinvalid)), value | mytype | ||
| ) |
The documentation for this interface was generated from the following file: