diff options
author | Denis Steckelmacher <steckdenis@yahoo.fr> | 2011-08-09 16:53:34 +0200 |
---|---|---|
committer | Denis Steckelmacher <steckdenis@yahoo.fr> | 2011-08-09 16:53:34 +0200 |
commit | 4238667e0e492ad940ffc8a5e01e3b39f0d6b2e2 (patch) | |
tree | 8cd7b90092e13a4ad695a178111929c6e388380d | |
parent | f83c60e01ec4234d35277d221e50957f86ec814c (diff) |
Also test that multiple barriers in a kernel work.
-rw-r--r-- | tests/test_builtins.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_builtins.cpp b/tests/test_builtins.cpp index cb8c7ab..acb39ca 100644 --- a/tests/test_builtins.cpp +++ b/tests/test_builtins.cpp @@ -18,7 +18,7 @@ const char sampler_source[] = const char barrier_source[] = "__kernel void test_case(__global uint *rs) {\n" " *rs = 0;\n" - " barrier(0);\n" + " int i; for (i=0; i<3; i++) barrier(0);\n" " *rs += 1;\n" "}\n"; |