From 0578febb9911611dea33e89e6c507a0ead23c031 Mon Sep 17 00:00:00 2001 From: Rahul Garg Date: Tue, 20 Dec 2016 23:25:16 +0530 Subject: [PATCH] Removed redundant GetPCIBusID int version function Change-Id: I37f2ff87d09fcfb1e3b104c44c51f606fcb83c01 --- hipamd/include/hip/nvcc_detail/hip_runtime_api.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/hipamd/include/hip/nvcc_detail/hip_runtime_api.h b/hipamd/include/hip/nvcc_detail/hip_runtime_api.h index 5f5931cf1b..7df6706186 100644 --- a/hipamd/include/hip/nvcc_detail/hip_runtime_api.h +++ b/hipamd/include/hip/nvcc_detail/hip_runtime_api.h @@ -770,11 +770,6 @@ inline static hipError_t hipDeviceGetName(char *name,int len,hipDevice_t device) return hipCUResultTohipError(cuDeviceGetName(name,len,device)); } -inline static hipError_t hipDeviceGetPCIBusId(char* pciBusId,int len,int device) -{ - return hipCUDAErrorTohipError(cudaDeviceGetPCIBusId(pciBusId,len,device)); -} - inline static hipError_t hipDeviceGetPCIBusId(char* pciBusId,int len,hipDevice_t device) { return hipCUResultTohipError(cuDeviceGetPCIBusId(pciBusId,len,device));