Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
efaulhaber committed Jan 29, 2025
1 parent fa3ffc2 commit 28aff82
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/gpu/arraypartition_gpu.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ mask = pA .> 0
# Test recursive filling is done using GPU kernels and not scalar indexing
RecursiveArrayTools.recursivefill!(pA, true)
@test all(pA .== true)

# Test that regular filling is done using GPU kernels and not scalar indexing
fill!(pA, false)
@test all(pA .== false)

0 comments on commit 28aff82

Please sign in to comment.