Skip to content

Conversation

@m-kurtenacker
Copy link
Contributor

AnyDSL/artic#36.

This is the bare minimum required to support external types. The only back-end implementation emits external types in the C backend, only types with a single string literal are supported, and that string literal is dumped into the output file as typedef <id> <option>; with <option> being the supplied option verbatim. The option is not sanitized in any way!

m-kurtenacker and others added 10 commits April 1, 2025 16:32
These can be used to interact with APIs that require us to emit types
that we do not currently support in artic, e.g. Matrix Types in SPIRV.

Currently, only the C backend supports external types. A typedef is
generated, i.e. an ExternType with args `{ "foo" }` and name `"bar"` emits
typedef foo bar;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants