hipdeviceprimaryctxgetstate Interface Reference

hipdeviceprimaryctxgetstate Interface Reference#

HIPFORT API Reference: hipfort::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.

[in]Deviceto get primary context flags for
[out]Pointerto store flags
[out]Pointerto store context state; 0 = inactive, 1 = active
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: