-
Notifications
You must be signed in to change notification settings - Fork 113
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
Shared Memory Parallelizaton (Question) #149
Comments
I believe an interpolation object can be constructed from any kind of For such a demanding application, you'll basically have to dive into the code to see how things work. The |
Thanks for the reply. I'll give it a shot; I only need to interpolate this large array once (and then evaluate it many times, passing it as a function argument), so I'm not too concerned about runtime increasing from that single interpolation. Also, just to clarify: what exactly does the |
An additional clarification that I forgot to ask in the last comment: if I use |
It was documented once (in LaTeX), but I don't think that documentation is hanging around anymore. Your best bet is to look at the source code for details. Suffice it to say that it matches the values at the grid points while also not adding any padding.
Yes, because it's doing everything in place. Note that if the SharedArray is backed by a disk file, that involves writing data to disk. |
Thanks for the information. I'll give this a go, and only reopen this issue if I find a feature related to this to be problematic or lacking in some way. |
I'm reopening this issue because it seems like there is an issue with |
For the record, this was tested on Julia 0.5.1. |
Did anything ever come of this? Or else can someone point me in the direction to start digging? I am seeing similar issues in Julia 0.6. I have a different use-case (need many, smaller interpolations), but the SharedArray construction would be very helpful in speeding things up pre- and post-interpolation. |
In Julia 0.4.6, I can say that it is possible to use |
Presumably this is just the behavior of |
Great, thanks. I'll push forward then and report back if I have any new issues... |
Does Interpolations.jl support shared memory parallelization in Julia, as is present in the SharedArray construct for standard arrays? I ask because I want to interpolate an array of size 300753007520 over all dimensions but the last (of size 20); this array already has 10^10 elements, which would certainly require shared memory even leaving the issue of interpolation aside.
The text was updated successfully, but these errors were encountered: