Commit b4a2489f authored by yuguo's avatar yuguo
Browse files

[DCU] fix 2.5 get_num_compute_streams

parent 2b05e121
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment