Skip to content

Commit 5653136

Browse files
committed
remove test code
1 parent ffcff67 commit 5653136

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

samples/21_multithreading/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ static void ThreadFunc(
7474
cl::NullRange );
7575
}
7676
++expected;
77-
} else if (false && r < 80) {
77+
} else if (r < 80) {
7878
// 10% probability: flush the queue.
7979
commandQueue.flush();
80-
} else if (false && r < 90) {
80+
} else if (r < 90) {
8181
// 10% probability: finish the queue.
8282
commandQueue.finish();
8383
} else {

0 commit comments

Comments
 (0)