AccelerateHS/accelerate

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

nbos opened this issue · 4 comments

nbos commented

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:

nbos commented

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

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 commented

It works