inducer / arraycontext

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

Allow actx.np.real on real arrays #76

Closed alexfikl closed 3 years ago

alexfikl commented 3 years ago

For some reason loopy (in loopy_implemented_elwise_func) wasn't able to infer the output type of real when acting on real arrays. There's probably a better fix for this somewhere down the stack, but in the meantime.

For context, hit this while trying to use pytential.norm.

alexfikl commented 3 years ago

Fixed by inducer/loopy#486 for pyopencl targets.