Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
composable_kernel_ROCM
Commits
e3f44659
Unverified
Commit
e3f44659
authored
Jun 20, 2024
by
Qianfeng
Committed by
GitHub
Jun 20, 2024
Browse files
Fix in dropout lambda to avoid the compiling issue on some docker/compiler envs (#1350)
parent
8db331a5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
include/ck_tile/ops/fmha/kernel/fmha_fwd_kernel.hpp
include/ck_tile/ops/fmha/kernel/fmha_fwd_kernel.hpp
+3
-3
No files found.
include/ck_tile/ops/fmha/kernel/fmha_fwd_kernel.hpp
View file @
e3f44659
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment