hipdeviceprimaryctxrelease Interface Reference

hipdeviceprimaryctxrelease Interface Reference#

HIPFORT API Reference: hipfort::hipdeviceprimaryctxrelease Interface Reference
hipfort::hipdeviceprimaryctxrelease Interface Reference

Release the primary context on the GPU. More...

Public Member Functions

integer(kind(hipsuccess)) function hipdeviceprimaryctxrelease_ (dev)
 

Detailed Description

Release the primary context on the GPU.

Parameters
[in]Devicewhich primary context is released
Returns
hipSuccess
See also
hipCtxCreate, hipCtxDestroy, hipCtxGetFlags, hipCtxPopCurrent, hipCtxGetCurrent, hipCtxSetCurrent, hipCtxPushCurrent, hipCtxSetCacheConfig, hipCtxSynchronize, hipCtxGetDevice
Warning
This function return hipSuccess though doesn't release the primaryCtx by design on HIP/HCC path.

Member Function/Subroutine Documentation

◆ hipdeviceprimaryctxrelease_()

integer(kind(hipsuccess)) function hipfort::hipdeviceprimaryctxrelease::hipdeviceprimaryctxrelease_ ( integer(c_int), value  dev)

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