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

[BUG] Value 'sm_30' is not defined for option 'gpu-name' #516

Closed
nbos opened this issue Apr 1, 2022 · 4 comments
Closed

[BUG] Value 'sm_30' is not defined for option 'gpu-name' #516

nbos opened this issue Apr 1, 2022 · 4 comments

Comments

@nbos
Copy link

nbos commented Apr 1, 2022

Calling Data.Array.Accelerate.LLVM.PTX.run returns the following error:

*** Internal error in package accelerate ***
*** Please submit a bug report at https://github.com/AccelerateHS/accelerate/issues

ptxas - -o /home/nbos/.cache/accelerate/accelerate-llvm-1.3.0.0/accelerate-llvm-ptx-1.3.0.0/llvm-hs-9.0.1/nvptx64-nvidia-cuda/sm30/rel/morp26739b41823e82434f36247dabfa5730ddb1ad91293e95dc8b68fa7a2ee11cfb.sass -arch=sm_30 (exit 255)
ptxas fatal   : Value 'sm_30' is not defined for option 'gpu-name'


CallStack (from HasCallStack):
  internalError: Data.Array.Accelerate.LLVM.PTX.Compile:185:24
  compileCUBIN: Data.Array.Accelerate.LLVM.PTX.Compile:123:20
  compile: Data.Array.Accelerate.LLVM.PTX.Compile:88:22

I have:

@dpvanbalen
Copy link
Contributor

It seems that CUDA 11 dropped support for your GPU: https://arnon.dk/matching-sm-architectures-arch-and-gencode-for-various-nvidia-cards/

@nbos
Copy link
Author

nbos commented Apr 1, 2022

Yeah that looks right, I'm downgrading to 10.2 atm.
The README should probably have a note on cuda/GPU compatibility.

@dpvanbalen
Copy link
Contributor

Good idea, I added a note in the README of accelerate-llvm. Let us know whether 10.2 works; we don't actively test older versions as often as we perhaps should!

@nbos
Copy link
Author

nbos commented Apr 2, 2022

It works

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