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]
This commit is contained in:
@@ -120,6 +120,8 @@ inline void hipLaunchKernelGGL(F kernel, const dim3& numBlocks, const dim3& dimB
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <typename... Args, typename F = void (*)(hipLaunchParm, Args...)>
|
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,
|
inline void hipLaunchKernel(F kernel, const dim3& numBlocks, const dim3& dimBlocks,
|
||||||
std::uint32_t groupMemBytes, hipStream_t stream, Args... args) {
|
std::uint32_t groupMemBytes, hipStream_t stream, Args... args) {
|
||||||
hipLaunchKernelGGL(kernel, numBlocks, dimBlocks, groupMemBytes, stream, hipLaunchParm{},
|
hipLaunchKernelGGL(kernel, numBlocks, dimBlocks, groupMemBytes, stream, hipLaunchParm{},
|
||||||
|
|||||||
Reference in New Issue
Block a user