The most plausible realization is to just set the dtype of the IndexLambda to the desired output type. Codegen is a bit more complex. If materialized, things will generally fall into place. Un-materialized codegen requires casting, and loopy doesn't currently have a coherent set of casting functions. 🤔
The most plausible realization is to just set the dtype of the
IndexLambdato the desired output type. Codegen is a bit more complex. If materialized, things will generally fall into place. Un-materialized codegen requires casting, and loopy doesn't currently have a coherent set of casting functions. 🤔