Merge pull request #726 from ROCm-Developer-Tools/feature_minimal_changes_for_hc_next

hipLaunchKernel, hipLaunchParm are deprecated, and shall be removed.

[ROCm/clr commit: a36889113c]
Tá an tiomantas seo le fáil i:
Maneesh Gupta údaraithe agus GitHub tiomanta 2018-10-30 09:20:39 +05:30
2 tuismitheoirí ab5f0e7c8f 5a6601c62a
tiomantas 73c69744d4
1 comhad athraithe
+2
@@ -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{},