You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new to accelerate, but this appears to be a bug:
importData.Array.Acceleratehiding(map,fst,snd)
importqualifiedData.Array.AccelerateasAccimportData.Array.Accelerate.CUDA(run)
testArr::Acc (ArrayDIM2Int)
testArr = use (fromList (Z:.1:.1) [5])
permuted::Acc (ArrayDIM2Int)
permuted =
permute
(\c _ -> c)
(fill (shape testArr) (constant 0))
id
testArr
main =print. run $ permuted
> ghc -threaded bug.hs
[1 of 1] Compiling Main ( bug.hs, bug.o )
Linking bug ...
> ./bug
/tmp/accelerate-cuda-7546/dragon7546.cu(16): error: no suitable conversion function from "DIM2" to "const int" exists
/tmp/accelerate-cuda-7546/dragon7546.cu(18): error: expression must have class type
/tmp/accelerate-cuda-7546/dragon7546.cu(19): error: expression must have class type
3 errors detected in the compilation of "/tmp/tmpxft_00001d7f_00000000-6_dragon7546.cpp1.ii".
bug: nvcc terminated abnormally (2)
bug: thread blocked indefinitely in an MVar operation
Hello,
I'm new to accelerate, but this appears to be a bug:
Versions:
accelerate: 0.13.0.1
accelerate-cuda: 0.13.0.1
nvcc release 5.0, V0.2.1221
Contents of
/tmp/accelerate-cuda-7546/dragon7546.cu
(indented):The text was updated successfully, but these errors were encountered: