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

hipLaunchKernel, hipLaunchParm are deprecated, and shall be removed.

[ROCm/hip commit: 2c99ef9aee]
Bu işleme şunda yer alıyor:
Maneesh Gupta
2018-10-30 09:20:39 +05:30
işlemeyi yapan: GitHub
işleme fd748a8dd1
+2
Dosyayı Görüntüle
@@ -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{},