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
TransformerEngine
Commits
b4a2489f
Commit
b4a2489f
authored
Jun 17, 2025
by
yuguo
Browse files
[DCU] fix 2.5 get_num_compute_streams
parent
2b05e121
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
transformer_engine/common/util/multi_stream.cpp
transformer_engine/common/util/multi_stream.cpp
+4
-0
No files found.
transformer_engine/common/util/multi_stream.cpp
View file @
b4a2489f
...
...
@@ -50,7 +50,11 @@ cudaEvent_t get_compute_stream_event(int idx) {
}
int
get_num_compute_streams
()
{
#ifdef __HIP_PLATFORM_AMD__
static
constexpr
int
num_compute_streams
=
2
;
#else
static
constexpr
int
num_compute_streams
=
4
;
#endif
return
num_compute_streams
;
}
...
...
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