hipLaunchKernel, hipLaunchParm are deprecated, and shall be removed.

[ROCm/clr commit: a743939900]
This commit is contained in:
Alex Voicu
2018-10-25 13:32:17 +01:00
parent bd0e1c87b7
commit 5a6601c62a
@@ -120,6 +120,8 @@ inline void hipLaunchKernelGGL(F kernel, const dim3& numBlocks, const dim3& dimB
}
template <typename... Args, typename F = void (*)(hipLaunchParm, Args...)>
[[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{},