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]devDevice which primary context is released [Deprecated]
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/HIP-CLANG path.
This API is deprecated on the AMD platform, only for equivalent driver API on the NVIDIA platform.

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: