Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type conversion for matrices #49

Open
wpmed92 opened this issue Oct 8, 2024 · 0 comments
Open

Type conversion for matrices #49

wpmed92 opened this issue Oct 8, 2024 · 0 comments

Comments

@wpmed92
Copy link
Owner

wpmed92 commented Oct 8, 2024

Add support for explicit type conversion of matrices in codegen. Matrix type conversion is a special case as spirv mlir conversion ops operate on vectors, so we have to convert the vectors the matrix is composed of, then reconstruct a new matrix with the converted vectors.
We only have to support mat to dmat and dmat to mat, so using FConvert on the composing vectors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant