accelerate-llvm icon indicating copy to clipboard operation
accelerate-llvm copied to clipboard

[BUG] thread blocked indefinitely in an MVar operation

Open wujilingfeng opened this issue 2 years ago • 2 comments

Description I install accelerate on WLS2, and run some code very well with accelerate-llvm-native backend. But if I use accelerate-llvm-ptx backend, it throws an error.thread blocked indefinitely in an MVar operation. I don't use stm package and any MVar operation.

Steps to reproduce if can download this code https://gitee.com/wujilingfeng/haskell-sift.

Your environment

If the bug is with the accelerate-llvm-ptx GPU backend, include the output of nvidia-device-query

  • Accelerate: 1.3.0.0
  • Accelerate backend(s): accelerate-llvm-ptx
  • GHC: 8.10.7
  • OS: windows 10 wsl2
  • nvidia GTX 1660 Ti cuda-11.4

wujilingfeng avatar Dec 30 '22 01:12 wujilingfeng

According to my recent experience, the array is probably out of bounds.

wujilingfeng avatar Feb 10 '23 08:02 wujilingfeng

The array is not out of bounds, which seems to be a bug.

wujilingfeng avatar Mar 15 '23 08:03 wujilingfeng