hipdeviceprimaryctxgetstate Interface Reference#
hipfort::hipdeviceprimaryctxgetstate Interface Reference
  Get the state of the primary context. More...
Public Member Functions | |
| integer(kind(hipsuccess)) function | hipdeviceprimaryctxgetstate_ (dev, flags, active) | 
Detailed Description
Get the state of the primary context.
- Parameters
 - 
  
[in] Device to get primary context flags for [out] Pointer to store flags [out] Pointer to store context state; 0 = inactive, 1 = active  
- Returns
 - hipSuccess
 
- See also
 - hipCtxCreate, hipCtxDestroy, hipCtxGetFlags, hipCtxPopCurrent, hipCtxGetCurrent, hipCtxSetCurrent, hipCtxPushCurrent, hipCtxSetCacheConfig, hipCtxSynchronize, hipCtxGetDevice
 
Member Function/Subroutine Documentation
◆ hipdeviceprimaryctxgetstate_()
| integer(kind(hipsuccess)) function hipfort::hipdeviceprimaryctxgetstate::hipdeviceprimaryctxgetstate_ | ( | integer(c_int), value | dev, | 
| type(c_ptr), value | flags, | ||
| type(c_ptr), value | active | ||
| ) | 
The documentation for this interface was generated from the following file: