PreallocationTools.jl icon indicating copy to clipboard operation
PreallocationTools.jl copied to clipboard

Tools for building non-allocating pre-cached functions in Julia, allowing for GC-free usage of automatic differentiation in complex codes

Results 8 PreallocationTools.jl issues
Sort by recently updated
recently updated
newest added

Update the workflows in this repository to use SciML's reusable workflows. This is part of a larger effort to standardise the SciML's CI workflows for more generic and common requirements,...

Using the example on the website but change to `BigFloat` ```julia using ForwardDiff, PreallocationTools randmat = big.(rand(5, 3)) sto = similar(randmat) stod = DiffCache(sto) function claytonsample!(sto, τ, α; randmat =...

Is there a way to make this work? The important part is the preallocation of the mixed tuples in the array. - DiffCache doesn't work, and - GeneralLazyBufferCache [don't know...

Perhaps I'm doing something wrong in how I set things up, but dualcache seems to always generate allocations when requesting the dual portion of the cache. Here's the most minimal...

Nowadays ForwardDiff seems to work nicely when using Complex (internally, at least), so I was trying to use `dualcache` with a complex array. Unfortunately, it seems like [the more interesting...

This pull request changes the compat entry for the `ForwardDiff` package from `0.10.38` to `0.10.38, 1`. This keeps the compat entries for earlier versions. Note: I have not tested your...

We use some multi-dimensional caches in Trixi.jl that we have to `resize!` for some operations. Since Julia only supports to `resize!` vectors, we construct the plain storage as vectors and...

question

**What feature report was addressed?** We are evaluating the use of PreallocationTools for Trixi, but need to ensure that adding it does not break Enzyme support. **Checklist** - [x] Appropriate...