id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,os,architecture,failure,difficulty,testcase,blockedby,blocking,related
2837,Vectoriser should give a better error message,chak,rl,"Given
{{{
{-# LANGUAGE PArr, ParallelListComp #-}
{-# OPTIONS -fvectorise #-}

module DotP (dotp_double)
where

import qualified Prelude
import Data.Array.Parallel.Prelude
import Data.Array.Parallel.Prelude.Double

dotp_double :: [:Double:] -> [:Double:] -> Double
dotp_double xs ys = sumP [:x * y | x <- xs | y <- ys:]
}}}
We can compile with `dph-par`
{{{
TacticalGrace chak 12 (.../haskell/ndp): ghc -c -Odph -funbox-strict-fields -fcpr-off -threaded -package dph-par dotp.hs
}}}
but not with `dph-seq`
{{{
TacticalGrace chak 11 (.../haskell/ndp): ghc -c -Odph -funbox-strict-fields -fcpr-off -threaded -package dph-seq dotp.hs 
*** Vectorisation error ***
    Variable not vectorised:
        Data.Array.Parallel.Prelude.Base.Double.sumP
}}}",bug,closed,normal,,Data Parallel Haskell,6.10.1,worksforme,,,Unknown/Multiple,Unknown/Multiple,,,,,,
