Fixed build error in hipDeviceGetByPCIBusId

Change-Id: I33be362910c4c5dca7435fb9c41f427b54f0e9a7
Este commit está contenido en:
Rahul Garg
2017-07-01 07:56:30 +05:30
padre 626b5191e8
commit 34fcaa23bb
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
+1 -1
Ver fichero
@@ -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
Ver fichero
@@ -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;