hipdeviceprimaryctxgetstate Interface Reference

hipdeviceprimaryctxgetstate Interface Reference#

HIPFORT API Reference: hipfort::hipdeviceprimaryctxgetstate Interface Reference
hipfort::hipdeviceprimaryctxgetstate Interface Reference

Get the state of the primary context [Deprecated]. More...

Public Member Functions

integer(kind(hipsuccess)) function hipdeviceprimaryctxgetstate_ (dev, flags, active)
 

Detailed Description

Get the state of the primary context [Deprecated].

Parameters
[in]devDevice to get primary context flags for
[out]flagsPointer to store flags
[out]activePointer to store context state; 0 = inactive, 1 = active
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

◆ hipdeviceprimaryctxgetstate_()

integer(kind(hipsuccess)) function hipfort::hipdeviceprimaryctxgetstate::hipdeviceprimaryctxgetstate_ ( integer(c_int), value  dev,
integer(c_int)  flags,
integer(c_int)  active 
)

The documentation for this interface was generated from the following file: