inducer / arraycontext

Choose your favorite numpy-workalike!
6 stars 11 forks source link

Add array_equal to PyOpenCLArrayContext.np #71

Closed majosm closed 3 years ago

majosm commented 3 years ago

Used by #46.

I'm not sure if there's a way to also make this work for PytatoPyOpenCLArrayContext? I ran into trouble with DataWrapper's __eq__ when I tried it.

kaushikcfd commented 3 years ago

I ran into trouble with DataWrapper's eq when I tried it.

For pytato arrays Array.__eq__ is not compatiable with numpy. Maybe you want pt.equal. But we don't have (all|any) implemented for pytato arrays as of yet.

inducer commented 3 years ago

Unsubscribing... @-mention or request review once it's ready for a look or needs attention.

inducer commented 3 years ago

Thx!