hipctxgetdevice Interface Reference#
hipfort::hipctxgetdevice Interface Reference
Get the handle of the device associated with current/default context [Deprecated]. More...
Public Member Functions | |
| integer(c_int) function | hipctxgetdevice_ (device) |
| integer(kind(hipsuccess)) function | hipctxgetdevice_typed (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(c_int) function hipfort::hipctxgetdevice::hipctxgetdevice_ | ( | type(c_ptr), value | device | ) |
◆ hipctxgetdevice_typed()
| integer(kind(hipsuccess)) function hipfort::hipctxgetdevice::hipctxgetdevice_typed | ( | integer(c_int), target | device | ) |
The documentation for this interface was generated from the following file: