hipdeviceget Interface Reference

hipdeviceget Interface Reference#

HIPFORT API Reference: hipfort::hipdeviceget Interface Reference
hipfort::hipdeviceget Interface Reference

Returns a handle to a compute device. More...

Public Member Functions

integer(kind(hipsuccess)) function hipdeviceget_orig (device, ordinal)
 

Detailed Description

Returns a handle to a compute device.

Parameters
[out]device
[in]ordinal
Returns
#hipSuccess, #hipErrorInavlidDevice

Member Function/Subroutine Documentation

◆ hipdeviceget_orig()

integer(kind(hipsuccess)) function hipfort::hipdeviceget::hipdeviceget_orig ( integer(c_int)  device,
integer(c_int), value  ordinal 
)

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