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

Further and clearer error when extern C missing #65

Closed
GiuseppeSorrentino99 opened this issue Oct 4, 2024 · 0 comments · Fixed by #70
Closed

Further and clearer error when extern C missing #65

GiuseppeSorrentino99 opened this issue Oct 4, 2024 · 0 comments · Fixed by #70

Comments

@GiuseppeSorrentino99
Copy link

GiuseppeSorrentino99 commented Oct 4, 2024

Hello,
I am writing the issue to highlight that when the extern C keyword is missing in the cpp file read through the Kernel Object, the error looks like this:

cp: cannot stat '/mnt/c/.../AppData/Local/Temp/pnxn0lqj0kd/build_template/final.xclbin': No such file or directory

When debugging options are enabled, the error looks like a mlir compile error, with issues on the kernel name.
A clearer message error would simplify the debugging phase since everything is solved by just adding the extern C correctly to the cpp file.
Thanks

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 a pull request may close this issue.

1 participant