Fix multiple test failures with staging compiler. (#3103)

* fix sync issues with staging compiler

* fix codegen

* use separate sync for gfx11
This commit is contained in:
Illia Silin
2025-10-28 08:07:19 -07:00
committed by GitHub
parent da4247a6df
commit 331273b474
2 changed files with 9 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ struct kernel
template <class... Ts>
auto launch(hipStream_t stream, std::size_t global, std::size_t local, Ts... zs) const
{
return [=](auto&&... xs) {
return [=, this](auto&&... xs) {
launch(stream, global, local, std::vector<kernel_argument>{xs...}, zs...);
};
}