hipdeviceprimaryctxretain Interface Reference#
hipfort::hipdeviceprimaryctxretain Interface Reference
Retain the primary context on the GPU. More...
Public Member Functions | |
integer(kind(hipsuccess)) function | hipdeviceprimaryctxretain_ (pctx, dev) |
Detailed Description
Retain the primary context on the GPU.
- Parameters
-
[out] Returned context handle of the new context [in] Device which primary context is released
- Returns
- hipSuccess
- See also
- hipCtxCreate, hipCtxDestroy, hipCtxGetFlags, hipCtxPopCurrent, hipCtxGetCurrent, hipCtxSetCurrent, hipCtxPushCurrent, hipCtxSetCacheConfig, hipCtxSynchronize, hipCtxGetDevice
Member Function/Subroutine Documentation
◆ hipdeviceprimaryctxretain_()
integer(kind(hipsuccess)) function hipfort::hipdeviceprimaryctxretain::hipdeviceprimaryctxretain_ | ( | type(c_ptr) | pctx, |
integer(c_int), value | dev | ||
) |
The documentation for this interface was generated from the following file: