-
Notifications
You must be signed in to change notification settings - Fork 0
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
Cache kernels in array context #1
Conversation
3a4b48b
to
ceaf8b2
Compare
I'd say no. One ugly aspect that hopefully this can resolve is that all arrays used to be, by convention, CL arrays. This was pretty unfortunate for FMMLib, because it doesn't work with CL arrays. In the "brave new world of array context", FMMLib would simply run on the Numpy array context (inducer/arraycontext#190), and only on that. |
As a end goal, I definitely agree with that. However, since a lot of small pieces in here go either through Once |
939f140
to
e20af17
Compare
I agree. I think boxtree will retain a hard dependency on pyopencl for the foreseeable future, so in that sense the actx support will be skin-deep. Sumpy and the FMM are loopy-only, so I think that'll be easier to make "truly actx-ish". Pytential in turn does significant tree/geometry processing, leaving it back in "skin-deep" territory. |
e20af17
to
4978392
Compare
72cdace
to
5d1bb3e
Compare
0285ae3
to
c3dea9e
Compare
Saw you closed this. Did this turn into commits in inducer#56? Or is it just game over here? |
And if the latter: would it make sense to dump this into a draft PR in the upstream repo? |
@inducer I closed it the intention of calling it "game over". The branch is still around, but rebasing this on inducer#56 is probably a pain and it's only going to get worse when we remove some of that manual event handling. The stuff here can be done more progressively and in a backwards compatible way once inducer#56 is in, so that's the plan.
If you want, sure, but it's probably easier to just do it from scratch instead of resolving the conflicts :\ |
OK, thanks for explaining. Let's leave it here then. |
TODOs:
FMMLibRotationDataInterface
necessary? It seems to be just ato_numpy(RotationClassesInfo)
, but it's also used inpytential
in some places..