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

no_numpy in sumpy kernels #184

Merged
merged 4 commits into from
Aug 4, 2023
Merged

Conversation

alexfikl
Copy link
Contributor

@alexfikl alexfikl commented Aug 4, 2023

This takes another chunk from #118.

Namely, using make_loopy_program (or something like it) from arraycontext will add a no_numpy=True to all kernels. This updates all the tests and other call sites to never pass numpy arrays in.

The stuff in sumpy.toys still takes numpy arrays and does all the back and forth behind the scenes.

@inducer
Copy link
Owner

inducer commented Aug 4, 2023

LGTM, thanks!

@inducer inducer merged commit 67c35f2 into inducer:main Aug 4, 2023
@alexfikl alexfikl deleted the only-pyopencl-arguments branch August 4, 2023 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants