We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffcff67 commit 5653136Copy full SHA for 5653136
1 file changed
samples/21_multithreading/main.cpp
@@ -74,10 +74,10 @@ static void ThreadFunc(
74
cl::NullRange );
75
}
76
++expected;
77
- } else if (false && r < 80) {
+ } else if (r < 80) {
78
// 10% probability: flush the queue.
79
commandQueue.flush();
80
- } else if (false && r < 90) {
+ } else if (r < 90) {
81
// 10% probability: finish the queue.
82
commandQueue.finish();
83
} else {
0 commit comments