hipctxgetdevice Interface Reference#
hipfort::hipctxgetdevice Interface Reference
Get the handle of the device associated with current/default context [Deprecated]. More...
Public Member Functions | |
| integer(kind(hipsuccess)) function | hipctxgetdevice_ (device) |
Detailed Description
Get the handle of the device associated with current/default context [Deprecated].
- Parameters
-
[out] device The device from the current context
- Returns
hipSuccess,hipErrorInvalidContext
- See also
- hipCtxCreate, hipCtxDestroy, hipCtxGetFlags, hipCtxPopCurrent, hipCtxGetCurrent, hipCtxPushCurrent, hipCtxSetCacheConfig, hipCtxSynchronize
- Warning
- This API is deprecated on the AMD platform, only for equivalent cuCtx driver API on the NVIDIA platform.
Member Function/Subroutine Documentation
◆ hipctxgetdevice_()
| integer(kind(hipsuccess)) function hipfort::hipctxgetdevice::hipctxgetdevice_ | ( | integer(c_int) | device | ) |
The documentation for this interface was generated from the following file: