"git@developer.sourcefind.cn:yangql/googletest.git" did not exist on "884bcdaf182da9c1739858ff13f093f7db6ed0bc"
Unverified Commit f3d05006 authored by Ziyue Yang's avatar Ziyue Yang Committed by GitHub
Browse files

Benchmarks: Fix Bug - Fix GPU scan logic in gpu_copy (#296)

Fix bug of GPU scan logic in bidirectional tests.
parent d03d110f
...@@ -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
......
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