This page contains proposed changes for a future release of ROCm. Read the latest Linux release of ROCm documentation for your production environments.

hipdevicegetbypcibusid Interface Reference

hipdevicegetbypcibusid Interface Reference#

HIPFORT API Reference: hipfort::hipdevicegetbypcibusid Interface Reference
hipfort::hipdevicegetbypcibusid Interface Reference

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

Public Member Functions

integer(kind(hipsuccess)) function hipdevicegetbypcibusid_ (device, pciBusId)
 

Detailed Description

Returns a handle to a compute device.

Parameters
[out]devicehandle
[in]PCIBus ID
Returns
hipSuccess, hipErrorInavlidDevice, hipErrorInvalidValue

Member Function/Subroutine Documentation

◆ hipdevicegetbypcibusid_()

integer(kind(hipsuccess)) function hipfort::hipdevicegetbypcibusid::hipdevicegetbypcibusid_ ( integer(c_int)  device,
type(c_ptr), value  pciBusId 
)

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