Fixed build error due to GetPCIBusId overloaded function

Change-Id: I626446f2c72c8143f08c95367bc1c528abeaf69d
This commit is contained in:
Rahul Garg
2016-12-08 14:35:58 +05:30
parent 6e6b518098
commit d35c8128a8
2 changed files with 13 additions and 11 deletions
+2
View File
@@ -337,6 +337,7 @@ hipError_t hipDeviceGetName(char *name,int len,hipDevice_t device)
return ihipLogStatus(e);
}
#ifdef __cplusplus
hipError_t hipDeviceGetPCIBusId (char *pciBusId,int len,hipDevice_t device)
{
HIP_INIT_API(pciBusId, len, device);
@@ -350,6 +351,7 @@ hipError_t hipDeviceGetPCIBusId (char *pciBusId,int len,hipDevice_t device)
}
return ihipLogStatus(e);
}
#endif
hipError_t hipDeviceGetPCIBusId (char *pciBusId,int len, int device)
{