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
After commit 5b7bab3, the length of generated hashes for functions have a dynamic length, instead of being 64 characters and an underscore. For example, the following program:
{-# LANGUAGE OverloadedLists #-}
{-# LANGUAGE FlexibleContexts #-}
moduleMainwhereimportqualifiedData.Array.AccelerateasAimportData.Array.Accelerate.LLVM.PTX (run)
main::IO()
main =dolet mat =A.fromList (A.ZA.:.5A.:.10) [0..] ::A.MatrixIntlet res = run $A.scanl1(+) (A.use mat)
putStrLn$show res
Description
After commit 5b7bab3, the length of generated hashes for functions have a dynamic length, instead of being 64 characters and an underscore. For example, the following program:
will result in the following LLVM code:
which is a hash of 63 characters, not 64. This causes the program execution to fail:
as Accelerate expects hashes of 64 characters.
Steps to reproduce
Steps to reproduce the behaviour:
Expected behaviour
The program runs the
scanl1
function and returns the new arrayYour environment
Additional context
-
The text was updated successfully, but these errors were encountered: