Added hipDeviceGetByPCIBusId in hip/hcc path

Change-Id: I3cca0dc533d0281689d8a407c7da16ca1ba6a3a8
Αυτή η υποβολή περιλαμβάνεται σε:
Rahul Garg
2016-11-01 10:57:48 +05:30
γονέας e1812a1319
υποβολή 81c91f5b0b
2 αρχεία άλλαξαν με 30 προσθήκες και 0 διαγραφές
@@ -1591,6 +1591,16 @@ hipError_t hipDeviceGetName(char *name,int len,hipDevice_t device);
*/
hipError_t hipDeviceGetPCIBusId (int *pciBusId,int len,hipDevice_t device);
/**
* @brief Returns a handle to a compute device.
* @param [out] device handle
* @param [in] PCI Bus ID
*
* @returns #hipSuccess, #hipErrorInavlidDevice, #hipErrorInvalidValue
*/
hipError_t hipDeviceGetByPCIBusId ( int* device,const int* pciBusId );
/**
* @brief Returns the total amount of memory on the device.
* @param [out] bytes