This page contains proposed changes for a future release of ROCm. Read the latest Linux release of ROCm documentation for your production environments.

hipdeviceprimaryctxsetflags Interface Reference

hipdeviceprimaryctxsetflags Interface Reference#

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

Set flags for the primary context. More...

Public Member Functions

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

Detailed Description

Set flags for the primary context.

Parameters
[in]Devicefor which the primary context flags are set
[in]Newflags for the device
Returns
hipSuccess, hipErrorContextAlreadyInUse
See also
hipCtxCreate, hipCtxDestroy, hipCtxGetFlags, hipCtxPopCurrent, hipCtxGetCurrent, hipCtxSetCurrent, hipCtxPushCurrent, hipCtxSetCacheConfig, hipCtxSynchronize, hipCtxGetDevice

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: