Fixed hipDeviceGetByPCIBusId

Change-Id: Ia36bb9425671ef7659541c9aeedae4098456a31b
이 커밋은 다음에 포함됨:
Rahul Garg가 2017-06-30 10:11:41 +05:30를 커밋했습니다
1 부모 0fe0381608
커밋 467a2ba014
2 파일이 변경됨
+20 -12

검색과 일치하는 파일 없음

+2 -2
파일 보기
@@ -876,9 +876,9 @@ inline static hipError_t hipDeviceGetPCIBusId(char* pciBusId,int len,hipDevice_t
return hipCUDAErrorTohipError(cudaDeviceGetPCIBusId(pciBusId,len,device));
}
inline static hipError_t hipDeviceGetByPCIBusId(int* device, const int *pciBusId)
inline static hipError_t hipDeviceGetByPCIBusId(int* device, const char *pciBusId)
{
return hipCUDAErrorTohipError(cudaDeviceGetByPCIBusId(device,(char*)pciBusId));
return hipCUDAErrorTohipError(cudaDeviceGetByPCIBusId(device, pciBusId));
}
inline static hipError_t hipDeviceGetLimit(size_t *pValue, hipLimit_t limit)