We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c58e28 commit 58f3b27Copy full SHA for 58f3b27
test/atomics.jl
@@ -6,8 +6,9 @@ float_types = [Float32, Float64]
6
all_types = vcat(integer_types, float_types)
7
8
dev = OpenCL.cl.device()
9
-# Define atomic operations to test, with init value and expected value
+# Define atomic operations to test
10
atomic_operations = [
11
+ # op, init_val, expected_val
12
(:atomic_add!, 0, 1000),
13
(:atomic_sub!, 1000, 0),
14
(:atomic_and!, 3, 1),
0 commit comments