We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96dc3fe commit 8d36d26Copy full SHA for 8d36d26
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