From 191e8fc08e4cb2162bcb6e9a653f27fffb28ac53 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 [ROCm/hip commit: 4704547bab722ecb99a72e5bda631065b300a848] --- projects/hip/include/hip/nvcc_detail/hip_runtime_api.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/projects/hip/include/hip/nvcc_detail/hip_runtime_api.h b/projects/hip/include/hip/nvcc_detail/hip_runtime_api.h index 5f5931cf1b..7df6706186 100644 --- a/projects/hip/include/hip/nvcc_detail/hip_runtime_api.h +++ b/projects/hip/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));