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_ (device, ordinal)
 

Detailed Description

Returns a handle to a compute device.

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

Member Function/Subroutine Documentation

◆ hipdeviceget_()

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

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