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
tsoc
superbenchmark
Commits
f3d05006
Unverified
Commit
f3d05006
authored
Jan 29, 2022
by
Ziyue Yang
Committed by
GitHub
Jan 29, 2022
Browse files
Benchmarks: Fix Bug - Fix GPU scan logic in gpu_copy (#296)
Fix bug of GPU scan logic in bidirectional tests.
parent
d03d110f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
superbench/benchmarks/micro_benchmarks/gpu_copy_performance/gpu_copy.cu
...chmarks/micro_benchmarks/gpu_copy_performance/gpu_copy.cu
+1
-1
No files found.
superbench/benchmarks/micro_benchmarks/gpu_copy_performance/gpu_copy.cu
View file @
f3d05006
...
@@ -695,7 +695,7 @@ int main(int argc, char **argv) {
...
@@ -695,7 +695,7 @@ int main(int argc, char **argv) {
// Scan all peers
// Scan all peers
for
(
int
k
=
0
;
k
<
gpu_count
;
k
++
)
{
for
(
int
k
=
0
;
k
<
gpu_count
;
k
++
)
{
// Skip second half for bidirectional test
// Skip second half for bidirectional test
if
(
opts
.
bidirectional_enabled
&&
j
>
k
)
{
if
(
opts
.
bidirectional_enabled
&&
k
>
j
)
{
break
;
break
;
}
}
// P2P write
// P2P write
...
...
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