hipexecutionctxgetdevice Interface Reference

hipexecutionctxgetdevice Interface Reference#

hipFORT API Reference: hipfort::hipexecutionctxgetdevice Interface Reference
hipfort::hipexecutionctxgetdevice Interface Reference

Returns the device associated with an execution context. More...

Public Member Functions

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

Detailed Description

Returns the device associated with an execution context.

Parameters
[out]device- Returns device handle for the specified execution context
[in]ctx- Execution context to obtain the device
Returns
hipSuccess, hipErrorInvalidValue

Member Function/Subroutine Documentation

◆ hipexecutionctxgetdevice_()

integer(kind(hipsuccess)) function hipfort::hipexecutionctxgetdevice::hipexecutionctxgetdevice_ ( type(c_ptr), value  device,
type(c_ptr), value  ctx 
)

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