mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-03 21:21:22 +00:00
Fix in dropout lambda to avoid the compiling issue on some docker/compiler envs (#1350)
This commit is contained in:
@@ -744,11 +744,11 @@ struct FmhaFwdKernel
|
||||
}
|
||||
}();
|
||||
|
||||
auto dropout = [&]() {
|
||||
auto dropout = [&, i_nhead_ = i_nhead, i_batch_ = i_batch]() {
|
||||
if constexpr(kHasDropout)
|
||||
{
|
||||
return BlockDropout{i_batch,
|
||||
i_nhead,
|
||||
return BlockDropout{i_batch_,
|
||||
i_nhead_,
|
||||
kargs.num_head_q,
|
||||
kargs.drop_seed,
|
||||
kargs.drop_offset,
|
||||
|
||||
Reference in New Issue
Block a user