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

Forbid setting force_device_scalars=False #278

Merged
merged 2 commits into from
Sep 4, 2024

Conversation

majosm
Copy link
Collaborator

@majosm majosm commented Aug 13, 2024

@majosm majosm force-pushed the always-force-device-scalars branch 3 times, most recently from c148497 to b4b0f1e Compare August 13, 2024 21:06
@majosm
Copy link
Collaborator Author

majosm commented Aug 13, 2024

Looks like the default value of force_device_scalars will need to be changed in the meshmode/grudge array context constructors before this can be merged. I'll wait until this gets a tentative go-ahead before doing that.

Copy link
Collaborator

@alexfikl alexfikl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has been deprecated for a long time now, so I'm definitely in favor! 🎉

arraycontext/impl/pyopencl/__init__.py Outdated Show resolved Hide resolved
@inducer
Copy link
Owner

inducer commented Aug 14, 2024

Very much in favor as well!

@majosm
Copy link
Collaborator Author

majosm commented Aug 16, 2024

Ruff errors appear to be unrelated, so I think this is ready for a look. inducer/meshmode#429 and inducer/grudge#358 should probably get merged before this.

@inducer inducer force-pushed the always-force-device-scalars branch from 88d3341 to 61e3dfa Compare September 4, 2024 20:46
@inducer inducer force-pushed the always-force-device-scalars branch from 61e3dfa to 74b00d8 Compare September 4, 2024 20:50
@inducer inducer enabled auto-merge (squash) September 4, 2024 20:50
@inducer inducer merged commit 46a5cfe into inducer:main Sep 4, 2024
12 checks passed
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.

3 participants