-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[bug] Ndarray on CPU are not handled by caching allocator #7119
Labels
bug
We've confirmed that this is an BUG
Comments
ailzhang
pushed a commit
to ailzhang/taichi
that referenced
this issue
Jan 11, 2023
quadpixels
pushed a commit
to quadpixels/taichi
that referenced
this issue
May 13, 2023
…aichi-dev#7128) Fixes taichi-dev#7119 ### Brief Summary It seems unnecessary for CPU to use runtime jit memory allocation for ndarray, let's see if anything breaks...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's listed as TODO here https://github.com/taichi-dev/taichi/blob/master/taichi/rhi/cpu/cpu_device.cpp#L33.
Without this being implemented, ndarray will always allocate new memories instead of reusing freed cached memory blocks.
Found this in #7072
The text was updated successfully, but these errors were encountered: