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