Skip to content

PytatoPyOpenCLArrayContext: respect arraycontext.loopy's options #75

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kaushikcfd
Copy link
Collaborator

No description provided.

@kaushikcfd kaushikcfd requested a review from inducer August 17, 2021 00:19
@@ -150,8 +150,7 @@ def freeze(self, array):
pt_prg = self._freeze_prg_cache[normalized_expr]
except KeyError:
pt_prg = pt.generate_loopy(self.transform_dag(normalized_expr),
options=lp.Options(return_dict=True,
no_numpy=True),
options=_DEFAULT_LOOPY_OPTIONS,
Copy link
Owner

Choose a reason for hiding this comment

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

  • I'd prefer if this could be customized per instance of the pytato array context. This is too global for my taste.
  • Also, it should check that the important options are set.

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