Fixed hipDeviceGetPCIBusId for HIP/NVCC

Change-Id: I662efa148257a710f09002850b41d57bef00dff3
Tá an tiomantas seo le fáil i:
Rahul Garg tiomanta 2017-06-29 00:13:02 +05:30
1 tuismitheoir f4ea3b76c8
tiomantas d6db525f51
1 comhad athraithe
+1 -1
+1 -1
Féach ar an gComhad
@@ -873,7 +873,7 @@ inline static hipError_t hipDeviceGetName(char *name,int len,hipDevice_t device)
inline static hipError_t hipDeviceGetPCIBusId(char* pciBusId,int len,hipDevice_t device)
{
return hipCUResultTohipError(cuDeviceGetPCIBusId(pciBusId,len,device));
return hipCUDAErrorTohipError(cudaDeviceGetPCIBusId(pciBusId,len,device));
}
inline static hipError_t hipDeviceGetByPCIBusId(int* device, const int *pciBusId)