Skip to content

Commit 8d36d26

Browse files
committed
Fix
1 parent 96dc3fe commit 8d36d26

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/atomics.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ float_types = [Float32, Float64]
66
all_types = vcat(integer_types, float_types)
77

88
dev = OpenCL.cl.device()
9-
# Define atomic operations to test, with init value and expected value
9+
# Define atomic operations to test
1010
atomic_operations = [
11+
# op, init_val, expected_val
1112
(:atomic_add!, 0, 1000),
1213
(:atomic_sub!, 1000, 0),
1314
(:atomic_and!, 3, 1),

0 commit comments

Comments
 (0)