From 147a6bab43623f36c159d25d345ddcec9b3cf072 Mon Sep 17 00:00:00 2001 From: Alex Voicu Date: Thu, 25 Oct 2018 13:32:17 +0100 Subject: [PATCH] hipLaunchKernel, hipLaunchParm are deprecated, and shall be removed. [ROCm/hip commit: e4181b85be3ee0a33a1abfc11ee385f73e387fb2] --- projects/hip/include/hip/hcc_detail/functional_grid_launch.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/hip/include/hip/hcc_detail/functional_grid_launch.hpp b/projects/hip/include/hip/hcc_detail/functional_grid_launch.hpp index 66e5873f3a..e678f25aa2 100644 --- a/projects/hip/include/hip/hcc_detail/functional_grid_launch.hpp +++ b/projects/hip/include/hip/hcc_detail/functional_grid_launch.hpp @@ -120,6 +120,8 @@ inline void hipLaunchKernelGGL(F kernel, const dim3& numBlocks, const dim3& dimB } template +[[deprecated("hipLaunchKernel is deprecated and will be removed in the next " + "version of HIP; please upgrade to hipLaunchKernelGGL.")]] inline void hipLaunchKernel(F kernel, const dim3& numBlocks, const dim3& dimBlocks, std::uint32_t groupMemBytes, hipStream_t stream, Args... args) { hipLaunchKernelGGL(kernel, numBlocks, dimBlocks, groupMemBytes, stream, hipLaunchParm{},