Fixed hipDeviceGetPCIBusId for HIP/NVCC
Change-Id: I662efa148257a710f09002850b41d57bef00dff3
이 커밋은 다음에 포함됨:
1 부모
a7c727f352
커밋
38d48b5cf0
1 파일이 변경됨
+1
-1
@@ -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)
|
||||
|
||||
새 이슈에서 참조
사용자 차단