Fix naming issue (#2762)

This commit is contained in:
Haocong WANG
2025-09-02 11:18:53 +08:00
committed by GitHub
parent d876e87fe4
commit 33418b201f

View File

@@ -65,9 +65,9 @@ struct FmhaFwdKernel
static constexpr bool kUseTrLoad = FmhaPipeline::Problem::kUseTrLoad;
#if defined(__gfx950__)
static constexpr bool kIsAvialable = true;
static constexpr bool kIsAvailable = true;
#else
static constexpr bool kIsAvialable = !kUseTrLoad;
static constexpr bool kIsAvailable = !kUseTrLoad;
#endif
static constexpr std::string_view kPipelineName = FmhaPipeline::name;
@@ -1046,7 +1046,7 @@ struct FmhaFwdKernel
CK_TILE_DEVICE void operator()(Kargs kargs) const
{
if constexpr(kIsAvialable)
if constexpr(kIsAvailable)
run_(std::move(kargs));
}