Skip to content

Make FusionContractorArrayContext fallbacks optional (disabled by default)#331

Draft
majosm wants to merge 1 commit intoinducer:mainfrom
majosm:optional-fallbacks
Draft

Make FusionContractorArrayContext fallbacks optional (disabled by default)#331
majosm wants to merge 1 commit intoinducer:mainfrom
majosm:optional-fallbacks

Conversation

@majosm
Copy link
Collaborator

@majosm majosm commented Feb 27, 2024

Updates MPIPytatoArrayContextBase.__init__ to pass along the arguments added to FusionContractorArrayContext to override the new default fallback behavior (raising an exception).

@majosm
Copy link
Collaborator Author

majosm commented Feb 27, 2024

Hrm, I don't think this is going to work as-is. Looks like MPIPytatoArrayContextBase needs to be compatible with both FusionContractorArrayContext and PytatoPyOpenCLArrayContext, which now have different __init__ arguments.

@inducer, @matthiasdiener Any thoughts on how to refactor this to make it work? Multiple inheritance in Python is not my strong suit...

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.

1 participant