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
OpenDAS
FastMoE
Commits
b861e928
Unverified
Commit
b861e928
authored
Jun 09, 2021
by
Rick Ho
Committed by
GitHub
Jun 09, 2021
Browse files
Merge pull request #45 from laekov/fix_stream_column_reduce
Fixed asynchronous streams in column reduce kernel call
parents
c96f8863
2126b59a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
cuda/parallel_linear.cuh
cuda/parallel_linear.cuh
+1
-1
No files found.
cuda/parallel_linear.cuh
View file @
b861e928
...
@@ -146,7 +146,7 @@ void fmoe_cuda_linear_backward_impl(
...
@@ -146,7 +146,7 @@ void fmoe_cuda_linear_backward_impl(
if
(
has_bias
)
{
if
(
has_bias
)
{
column_reduce
column_reduce
<<<
grid_threads
,
block_threads
,
sizeof
(
scalar_t
)
*
1024
,
smgr
->
stream
(
0
)
>>>
<<<
grid_threads
,
block_threads
,
sizeof
(
scalar_t
)
*
1024
,
smgr
->
stream
(
i
)
>>>
(
(
grad_output_buf
+
ptr
*
out_feat
,
grad_output_buf
+
ptr
*
out_feat
,
grad_bias
+
i
*
out_feat
,
grad_bias
+
i
*
out_feat
,
...
...
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