change hipgetPCIID to take int as third parameter

Change-Id: I4429b36756a6d868a769abd783bf28a55147c0d0
Bu işleme şunda yer alıyor:
pensun
2016-12-06 14:21:03 -06:00
ebeveyn 092924d660
işleme 8fcae3acc0
+1 -11
Dosyayı Görüntüle
@@ -337,16 +337,7 @@ hipError_t hipDeviceGetName(char *name,int len,hipDevice_t device)
return ihipLogStatus(e);
}
// hipError_t hipDeviceGetPCIBusId (char *pciBusId,int len,hipDevice_t device)
// {
// HIP_INIT_API(pciBusId, len, device);
// hipError_t e = hipSuccess;
// int deviceId= device->_deviceId;
// e = ihipDeviceGetAttribute((int*)pciBusId, hipDeviceAttributePciBusId, deviceId);
// return ihipLogStatus(e);
// }
hipError_t hipDeviceGetPCIBusId (char *pciBusId,int len,int device)
hipError_t hipDeviceGetPCIBusId (char *pciBusId,int len, int device)
{
HIP_INIT_API(pciBusId, len, device);
hipError_t e = hipSuccess;
@@ -358,7 +349,6 @@ hipError_t hipDeviceGetPCIBusId (char *pciBusId,int len,int device)
}
return ihipLogStatus(e);
}
hipError_t hipDeviceTotalMem (size_t *bytes,hipDevice_t device)
{
HIP_INIT_API(bytes, device);