Skip to content
This repository was archived by the owner on Jun 1, 2026. It is now read-only.

Introduce scalars (bool/int/float) as "native" SPIR-T types, consts and runtime ops.#50

Closed
eddyb wants to merge 4 commits into
mainfrom
scalar
Closed

Introduce scalars (bool/int/float) as "native" SPIR-T types, consts and runtime ops.#50
eddyb wants to merge 4 commits into
mainfrom
scalar

Conversation

@eddyb

@eddyb eddyb commented Oct 23, 2023

Copy link
Copy Markdown
Contributor

This is the first big step towards:


This is what the README.md example looks like now:

TODO: changelog (don't forget to mention the new switch! or should that be its own PR?), better docs, set up constant-folding (maybe even some OpSpecConstantOp support?).

github-merge-queue Bot pushed a commit that referenced this pull request Oct 27, 2023
…d`/`ConstKind`. (#51)

The "constructor" idea was cute, but a mistake. At the end of the day
(see #1, #50, #29), the direction to move into is simpler and/or flatter
types and constants, *not* favoring the hierarchical ones.
@eddyb eddyb force-pushed the scalar branch 3 times, most recently from 4f48389 to a9049e6 Compare November 5, 2023 00:13
@eddyb eddyb force-pushed the scalar branch 2 times, most recently from e4b6bc6 to f632e3c Compare November 8, 2023 05:38
@eddyb eddyb force-pushed the scalar branch 2 times, most recently from d24a607 to 5eefbcf Compare January 31, 2024 14:19
@eddyb

eddyb commented Apr 23, 2026

Copy link
Copy Markdown
Contributor Author

@eddyb eddyb closed this Apr 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant