hipdeviceprimaryctxsetflags Interface Reference

hipdeviceprimaryctxsetflags Interface Reference#

HIPFORT API Reference: hipfort::hipdeviceprimaryctxsetflags Interface Reference
hipfort::hipdeviceprimaryctxsetflags Interface Reference

Set flags for the primary context [Deprecated]. More...

Public Member Functions

integer(kind(hipsuccess)) function hipdeviceprimaryctxsetflags_ (dev, flags)
 

Detailed Description

Set flags for the primary context [Deprecated].

Parameters
[in]devDevice for which the primary context flags are set
[in]flagsNew flags for the device
Returns
hipSuccess, hipErrorContextAlreadyInUse
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

◆ hipdeviceprimaryctxsetflags_()

integer(kind(hipsuccess)) function hipfort::hipdeviceprimaryctxsetflags::hipdeviceprimaryctxsetflags_ ( integer(c_int), value  dev,
integer(c_int), value  flags 
)

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