hipdeviceprimaryctxretain Interface Reference

hipdeviceprimaryctxretain Interface Reference#

HIPFORT API Reference: hipfort::hipdeviceprimaryctxretain Interface Reference
hipfort::hipdeviceprimaryctxretain Interface Reference

Retain the primary context on the GPU [Deprecated]. More...

Public Member Functions

integer(kind(hipsuccess)) function hipdeviceprimaryctxretain_ (pctx, dev)
 

Detailed Description

Retain the primary context on the GPU [Deprecated].

Parameters
[out]pctxReturned context handle of the new context
[in]devDevice which primary context is released
Returns
hipSuccess
See also
hipCtxCreate, hipCtxDestroy, hipCtxGetFlags, hipCtxPopCurrent, hipCtxGetCurrent, hipCtxSetCurrent, hipCtxPushCurrent, hipCtxSetCacheConfig, hipCtxSynchronize, hipCtxGetDevice
Warning
This API is deprecated on the AMD platform, only for equivalent driver API on the NVIDIA platform.

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: