Skip to content

Commit 28aff82

Browse files
committed
Add test
1 parent fa3ffc2 commit 28aff82

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/gpu/arraypartition_gpu.jl

+4
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,7 @@ mask = pA .> 0
1414
# Test recursive filling is done using GPU kernels and not scalar indexing
1515
RecursiveArrayTools.recursivefill!(pA, true)
1616
@test all(pA .== true)
17+
18+
# Test that regular filling is done using GPU kernels and not scalar indexing
19+
fill!(pA, false)
20+
@test all(pA .== false)

0 commit comments

Comments
 (0)