Try out NumpyArrayContext
This adds a subclass of NumpyArrayContext and uses it in test_array.py and test_meshmode.py (these also used the pytato array context).
I'm not sure if this is supposed to just work™, but I was curious what fails :grin:
From a quick skim:
- There seem to be some cool segmentation faults in there.
- The loopy kernels are not all super friendly with the C target (most seem to be missing a barrier implementation?)
Thanks for doing this. All this is definitely intended to "just work", at least eventually.
What made you decide to close this? I figure we'll want something like this in the medium term?
What made you decide to close this? I figure we'll want something like this in the medium term?
Just didn't think it was needed. I'm happy to reopen!