hipDeviceGetByPCIBusId support for HIP/NVCC

Change-Id: I8f82890e88d2a15f592bff192179e7d5c5362722
이 커밋은 다음에 포함됨:
Rahul Garg가 2016-11-10 11:40:59 +05:30를 커밋했습니다
1 부모 669d734624
커밋 fcb94863f7
1 파일이 변경됨
+5
+5
파일 보기
@@ -764,6 +764,11 @@ inline static hipError_t hipDeviceGetPCIBusId(int *pciBusId,int len,hipDevice_t
return hipCUResultTohipError(cuDeviceGetPCIBusId((char*)pciBusId,len,device));
}
inline static hipError_t hipDeviceGetByPCIBusId(int* device, const int *pciBusId)
{
return hipCUDAErrorTohipError(cudaDeviceGetByPCIBusId(device,(char*)pciBusId));
}
inline static hipError_t hipDeviceGetLimit(size_t *pValue, hipLimit_t limit)
{
return hipCUDAErrorTohipError(cudaDeviceGetLimit(pValue, limit));