Skip to content

Forbid setting force_device_scalars=False#278

Merged
inducer merged 2 commits intoinducer:mainfrom
majosm:always-force-device-scalars
Sep 4, 2024
Merged

Forbid setting force_device_scalars=False#278
inducer merged 2 commits intoinducer:mainfrom
majosm:always-force-device-scalars

Conversation

@majosm
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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! 🎉

Comment thread arraycontext/impl/pyopencl/__init__.py Outdated
@inducer
Copy link
Copy Markdown
Owner

inducer commented Aug 14, 2024

Very much in favor as well!

@majosm
Copy link
Copy Markdown
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
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