Skip to content

Conversation

@JamesWrigley
Copy link

This fixes some invalidations. On Julia 1.12 the number of invalidations go down from 1628 to 1498. As a dependency of CUDA.jl and in combination with JuliaData/SentinelArrays.jl#119 the number of invalidations from loading CUDA go from 11175 to 10432.

One potentially dodgy change is removing the getindex() method, but I benchmarked it against the default one in Base and got the same results (~3 ns). When running the tests I also found that one of the @test_broken tests was passing so I fixed that too, but it's an allocation test so it may just be a 1.12 thing.

This fixes some invalidations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant