hipLaunchKernel, hipLaunchParm are deprecated, and shall be removed.

[ROCm/hip commit: e4181b85be]
Tento commit je obsažen v:
Alex Voicu
2018-10-25 13:32:17 +01:00
rodič 5333a22ccc
revize 147a6bab43
+2
Zobrazit soubor
@@ -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{},