Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
FlashMLA
Commits
c7590278
Commit
c7590278
authored
Aug 14, 2025
by
Jiashi Li
Browse files
Fix accuracy issue in sum_OdO kernel
parent
ef5b1a69
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
csrc/sm100/kernel/fmha_kernel_bwd_sum_OdO.hpp
csrc/sm100/kernel/fmha_kernel_bwd_sum_OdO.hpp
+1
-1
No files found.
csrc/sm100/kernel/fmha_kernel_bwd_sum_OdO.hpp
View file @
c7590278
...
@@ -140,7 +140,7 @@ struct FmhaKernelBwdSumOdO {
...
@@ -140,7 +140,7 @@ struct FmhaKernelBwdSumOdO {
*
reinterpret_cast
<
Vec
*>
(
value_dO
)
=
*
reinterpret_cast
<
const
Vec
*>
(
&
ptr_dO_bhq
[
idx_d
]);
*
reinterpret_cast
<
Vec
*>
(
value_dO
)
=
*
reinterpret_cast
<
const
Vec
*>
(
&
ptr_dO_bhq
[
idx_d
]);
for
(
int
v
=
0
;
v
<
kElementsPerLoad
;
v
++
)
{
for
(
int
v
=
0
;
v
<
kElementsPerLoad
;
v
++
)
{
acc
+=
value_O
[
v
]
*
value_dO
[
v
];
acc
+=
ElementAcc
(
value_O
[
v
]
)
*
ElementAcc
(
value_dO
[
v
]
)
;
}
}
}
}
...
...
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