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

add ttmetal-to-cpp translation for manual/lit testing #2063

Open
vroubtsovTT opened this issue Feb 2, 2025 · 0 comments
Open

add ttmetal-to-cpp translation for manual/lit testing #2063

vroubtsovTT opened this issue Feb 2, 2025 · 0 comments
Assignees
Milestone

Comments

@vroubtsovTT
Copy link
Contributor

It would be convenient to have a quick way to examine codegen'ed c++ on cmd line and possibly match actual c++ text in lit CHECK tests.

We already have ttmetal-to-flatbuffer which outputs binary fb blobs with kernels serialized inside as strings, but that's suboptimal. We now also have ttkernel-to-cpp-noc and ttkernel-to-cpp-tensix. ttmetal-to-cpp would be similar to the former but output all c++ kernels to stdout, possibly taking a parameter to select only one ttkernel::ThreadType.

@vroubtsovTT vroubtsovTT added this to the [D2M 1] milestone Feb 2, 2025
@vroubtsovTT vroubtsovTT self-assigned this Feb 2, 2025
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

No branches or pull requests

1 participant