From a74393990000149909be993c67b39ce2c9248eb8 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. --- hipamd/include/hip/hcc_detail/functional_grid_launch.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hipamd/include/hip/hcc_detail/functional_grid_launch.hpp b/hipamd/include/hip/hcc_detail/functional_grid_launch.hpp index 66e5873f3a..e678f25aa2 100644 --- a/hipamd/include/hip/hcc_detail/functional_grid_launch.hpp +++ b/hipamd/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{},