hipctxcreate Interface Reference

hipctxcreate Interface Reference#

HIPFORT API Reference: hipfort::hipctxcreate Interface Reference
hipfort::hipctxcreate Interface Reference

Create a context and set it as current/default context. More...

Public Member Functions

integer(kind(hipsuccess)) function hipctxcreate_ (ctx, flags, device)
 

Detailed Description

Create a context and set it as current/default context.

Parameters
[out]ctxContext to create
[in]flagsContext creation flags
[in]devicedevice handle
Returns
hipSuccess
See also
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

◆ hipctxcreate_()

integer(kind(hipsuccess)) function hipfort::hipctxcreate::hipctxcreate_ ( type(c_ptr)  ctx,
integer(c_int), value  flags,
integer(c_int), value  device 
)

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