hipctxgetcurrent Interface Reference

hipctxgetcurrent Interface Reference#

HIPFORT API Reference: hipfort::hipctxgetcurrent Interface Reference
hipfort::hipctxgetcurrent Interface Reference

Get the handle of the current/ default context [Deprecated]. More...

Public Member Functions

integer(kind(hipsuccess)) function hipctxgetcurrent_ (ctx)
 

Detailed Description

Get the handle of the current/ default context [Deprecated].

Parameters
[out]ctxThe context to get as current
Returns
hipSuccess, hipErrorInvalidContext
See also
hipCtxCreate, hipCtxDestroy, hipCtxGetDevice, hipCtxGetFlags, hipCtxPopCurrent, hipCtxPushCurrent, hipCtxSetCacheConfig, hipCtxSynchronize, hipCtxGetDevice
Warning
This API is deprecated on the AMD platform, only for equivalent cuCtx driver API on the NVIDIA platform.

Member Function/Subroutine Documentation

◆ hipctxgetcurrent_()

integer(kind(hipsuccess)) function hipfort::hipctxgetcurrent::hipctxgetcurrent_ ( type(c_ptr)  ctx)

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