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(c_int) function hipdeviceget_ (device, ordinal)
 
integer(kind(hipsuccess)) function hipdeviceget_typed (device, ordinal)
 

Detailed Description

Returns a handle to a compute device.

Parameters
[out]deviceHandle of device
[in]ordinalDevice ordinal
Returns
hipSuccess, hipErrorInvalidDevice

Member Function/Subroutine Documentation

◆ hipdeviceget_()

integer(c_int) function hipfort::hipdeviceget::hipdeviceget_ ( type(c_ptr), value  device,
integer(c_int), value  ordinal 
)

◆ hipdeviceget_typed()

integer(kind(hipsuccess)) function hipfort::hipdeviceget::hipdeviceget_typed ( integer(c_int), target  device,
integer(c_int)  ordinal 
)

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