Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preallocate without PreallocationTools #278

Open
lukem12345 opened this issue Nov 7, 2024 · 1 comment
Open

Preallocate without PreallocationTools #278

lukem12345 opened this issue Nov 7, 2024 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@lukem12345
Copy link
Member

Currently, we have two memory management options, controlled by the preallocate flag:

  1. Preallocate using PreallocationTools
  2. No preallocation

However, for compatibility purposes, some packages would prefer to have plain Julia arrays.

So, we should add an option to compile that allows for the old behavior.

@lukem12345 lukem12345 added the enhancement New feature or request label Nov 7, 2024
@jpfairbanks
Copy link
Member

jpfairbanks commented Nov 7, 2024

# TODO: Should maybe have default CPU generation be Vector with PreallocTools being opt-in

Add a new backend for CPUPreallocationBackend

@lukem12345 lukem12345 added the good first issue Good for newcomers label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants