hipdevicegetexecutionctx Interface Reference

hipdevicegetexecutionctx Interface Reference#

HIPFORT API Reference: hipfort::hipdevicegetexecutionctx Interface Reference
hipfort::hipdevicegetexecutionctx Interface Reference

Returns the default execution context for a device. More...

Public Member Functions

integer(kind(hipsuccess)) function hipdevicegetexecutionctx_ (ctx, device)
 

Detailed Description

Returns the default execution context for a device.

Parameters
[out]ctx- Output pointer for execution context
[in]device- The device on which to receive the execution context
Returns
hipSuccess, hipErrorInvalidValue, hipErrorInvalidDevice, hipErrorOutOfMemory

Member Function/Subroutine Documentation

◆ hipdevicegetexecutionctx_()

integer(kind(hipsuccess)) function hipfort::hipdevicegetexecutionctx::hipdevicegetexecutionctx_ ( type(c_ptr)  ctx,
integer(c_int), value  device 
)

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