"vscode:/vscode.git/clone" did not exist on "5623826f7363e41f97db2cfe6e7f1244d9222d35"
Commit 61a80367 authored by Ramesh Errabolu's avatar Ramesh Errabolu
Browse files

Extend logic to catch more illegal options

parent cd64b4d9
......@@ -112,6 +112,12 @@ void RocmBandwidthTest::ValidateCopyUnidirFlags(uint32_t copy_mask,
exit(0);
}
if ((copy_ctrl_mask & DEV_COPY_LATENCY) &&
(copy_ctrl_mask & USR_BUFFER_SIZE)) {
PrintHelpScreen();
exit(0);
}
// It is illegal to specify Latency and another
// secondary flag that affects a copy operation
if ((copy_ctrl_mask & DEV_COPY_LATENCY) &&
......
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