Skip to content

Implement Array.astype #456

@inducer

Description

@inducer

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. 🤔

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions