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

CUDA not available! even if it is installed #342

Closed
edoelas opened this issue May 17, 2024 · 1 comment
Closed

CUDA not available! even if it is installed #342

edoelas opened this issue May 17, 2024 · 1 comment
Labels
duplicate This issue or pull request already exists HVM About the HVM

Comments

@edoelas
Copy link

edoelas commented May 17, 2024

Describe the bug
When running a program with bend run-cu it says:

Error reading result from hvm. Output :
CUDA not available!

I just installed CUDA on WSL following the nvidia guide and the command nvcc --version works fine on the same terminal I am running bend. I followed the guide on the README to install bend.

To Reproduce
Run a program with cuda.

Expected behavior
I expect the program to run.

Desktop (please complete the following information):

  • OS: [5.15.146.1-microsoft-standard-WSL2]
  • CPU: [e.g. AMD ryzen 9 7900]
  • GPU: [e.g. RTX 4070]
  • Cuda Version [release 12.4, V12.4.131]

Terminal output

~$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2024 NVIDIA Corporation
Built on Thu_Mar_28_02:18:24_PDT_2024
Cuda compilation tools, release 12.4, V12.4.131
Build cuda_12.4.r12.4/compiler.34097967_0
~$ bend run-cu test.bend 
Errors:
Error reading result from hvm. Output :
CUDA not available!
@edoelas edoelas added the bug Something isn't working label May 17, 2024
@kings177
Copy link
Member

thank you for the issue, i'm moving this to HVM as this is related to HVM, and a duplicate of HigherOrderCO/HVM#283

@kings177 kings177 added duplicate This issue or pull request already exists HVM About the HVM and removed bug Something isn't working labels May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists HVM About the HVM
Projects
None yet
Development

No branches or pull requests

2 participants