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

Error reading result from hvm. Output #310

Closed
SAKSoomro opened this issue May 19, 2024 · 2 comments
Closed

Error reading result from hvm. Output #310

SAKSoomro opened this issue May 19, 2024 · 2 comments

Comments

@SAKSoomro
Copy link

Bug description
bend works ok on single core cpu and with all cores but gives error with gpu

Command
$ bend run-cu app.bend

Error
Errors: Error reading result from hvm. Output : Failed to launch kernels (error code the provided PTX was compiled with an unsupported toolchain.)! exit status: 1

Desktop (please complete the following information):

  • OS: Ubuntu 22.04.3 LTS on WSL Windows 11
  • CPU: 12th Gen Intel i9-12900
  • GPU: RTX A2000 12GB
  • Cuda Version cuda 12.4
@kings177
Copy link
Member

kings177 commented May 20, 2024

the current iteration of the cuda version of hvm was made with the 4090's shared mem number hardcoded, which is 96KB, and if you run with your A2000 (or any "older" GPU), which have 48KB (or less) of shared mem, this error will occur. we plan on soon release a refactored version with a dynamic number for the shared mem

the problem seems to be in fact, incompatibility in the PTX version of your system, still investigating.

@kings177
Copy link
Member

Merging this with #283 since this issue is also being discussed there

@kings177 kings177 closed this as not planned Won't fix, can't repro, duplicate, stale May 22, 2024
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

2 participants