Fixed build error in hipDeviceGetByPCIBusId

Change-Id: I33be362910c4c5dca7435fb9c41f427b54f0e9a7


[ROCm/clr commit: cbc98cc098]
Cette révision appartient à :
Rahul Garg a révisé 2017-07-01 07:56:30 +05:30
1 Parent f1f98a0d2f
révision ce0833f3bb
2 fichiers modifiés
+2 -2

Aucun fichier ne correspond à votre recherche

+1 -1
Voir le fichier
@@ -1867,7 +1867,7 @@ hipError_t hipDeviceGetPCIBusId (char *pciBusId,int len,int device);
*
* @returns #hipSuccess, #hipErrorInavlidDevice, #hipErrorInvalidValue
*/
hipError_t hipDeviceGetByPCIBusId ( int* device,const int* pciBusId );
hipError_t hipDeviceGetByPCIBusId ( int* device,const char* pciBusId );
/**
+1 -1
Voir le fichier
@@ -395,7 +395,7 @@ hipError_t hipDeviceTotalMem (size_t *bytes,hipDevice_t device)
return ihipLogStatus(e);
}
hipError_t hipDeviceGetByPCIBusId (int* device, const int* pciBusId )
hipError_t hipDeviceGetByPCIBusId (int* device, const char* pciBusId )
{
HIP_INIT_API(device,pciBusId);
hipDeviceProp_t tempProp;