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
apex
Commits
02a33875
Unverified
Commit
02a33875
authored
Jun 11, 2020
by
schetlur
Committed by
GitHub
Jun 11, 2020
Browse files
Merge pull request #883 from NVIDIA/schetlur/stream_bug_fix
Update softmax.h
parents
058addbe
060bd5cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
apex/contrib/csrc/multihead_attn/softmax.h
apex/contrib/csrc/multihead_attn/softmax.h
+1
-1
No files found.
apex/contrib/csrc/multihead_attn/softmax.h
View file @
02a33875
...
...
@@ -465,7 +465,7 @@ bool dispatch_additive_masked_softmax(output_t *dst, const input_t *src, const i
dim3
threads
(
warp_size
,
warps_per_block
,
1
);
// launch
kernel
<<<
blocks
,
threads
>>>
(
dst
,
src
,
pad_mask
,
batch_count
,
softmax_elements_stride
,
softmax_elements
,
pad_batch_stride
);
kernel
<<<
blocks
,
threads
,
0
,
at
::
cuda
::
getCurrentCUDAStream
()
>>>
(
dst
,
src
,
pad_mask
,
batch_count
,
softmax_elements_stride
,
softmax_elements
,
pad_batch_stride
);
return
true
;
}
return
false
;
...
...
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