From 6318875ebc43315287aad328c689db14a2493612 Mon Sep 17 00:00:00 2001 From: Michael LIAO Date: Thu, 7 Nov 2019 10:11:22 -0500 Subject: [PATCH] Remove redundant declarations. - The revised `hip/hip_ext.h` have that declarations. [ROCm/hip commit: d6ff22510e97f1e8e50c587b5f89bd17c4b77ca0] --- .../hip/include/hip/hcc_detail/hip_runtime.h | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/projects/hip/include/hip/hcc_detail/hip_runtime.h b/projects/hip/include/hip/hcc_detail/hip_runtime.h index 0b70570352..fbf96d3d0b 100644 --- a/projects/hip/include/hip/hcc_detail/hip_runtime.h +++ b/projects/hip/include/hip/hcc_detail/hip_runtime.h @@ -518,25 +518,6 @@ hc_get_workitem_absolute_id(int dim) #pragma pop_macro("__CUDA__") #endif // ndef _OPENMP -#if __HIP_VDI__ -hipError_t hipExtModuleLaunchKernel(hipFunction_t f, uint32_t globalWorkSizeX, - uint32_t globalWorkSizeY, uint32_t globalWorkSizeZ, - uint32_t localWorkSizeX, uint32_t localWorkSizeY, - uint32_t localWorkSizeZ, size_t sharedMemBytes, - hipStream_t hStream, void** kernelParams, void** extra, - hipEvent_t startEvent = nullptr, - hipEvent_t stopEvent = nullptr, - uint32_t flags = 0); - -hipError_t hipHccModuleLaunchKernel(hipFunction_t f, uint32_t globalWorkSizeX, - uint32_t globalWorkSizeY, uint32_t globalWorkSizeZ, - uint32_t localWorkSizeX, uint32_t localWorkSizeY, - uint32_t localWorkSizeZ, size_t sharedMemBytes, - hipStream_t hStream, void** kernelParams, void** extra, - hipEvent_t startEvent = nullptr, - hipEvent_t stopEvent = nullptr) - __attribute__((deprecated("use hipExtModuleLaunchKernel instead"))); -#endif // __HIP_VDI__ #endif // defined(__clang__) && defined(__HIP__) #include