hipctxsetcurrent Interface Reference

hipctxsetcurrent Interface Reference#

HIPFORT API Reference: hipfort::hipctxsetcurrent Interface Reference
hipfort::hipctxsetcurrent Interface Reference

Set the passed context as current/default [Deprecated]. More...

Public Member Functions

integer(kind(hipsuccess)) function hipctxsetcurrent_ (ctx)
 

Detailed Description

Set the passed context as current/default [Deprecated].

Parameters
[in]ctxThe context to set as current
Returns
hipSuccess, hipErrorInvalidContext
See also
hipCtxCreate, hipCtxDestroy, hipCtxGetFlags, hipCtxPopCurrent, hipCtxGetCurrent, 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

◆ hipctxsetcurrent_()

integer(kind(hipsuccess)) function hipfort::hipctxsetcurrent::hipctxsetcurrent_ ( type(c_ptr), value  ctx)

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