summaryrefslogtreecommitdiff
path: root/testsuite/tests/dph/sumnats/SumNatsVect.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/dph/sumnats/SumNatsVect.hs')
-rw-r--r--testsuite/tests/dph/sumnats/SumNatsVect.hs14
1 files changed, 0 insertions, 14 deletions
diff --git a/testsuite/tests/dph/sumnats/SumNatsVect.hs b/testsuite/tests/dph/sumnats/SumNatsVect.hs
deleted file mode 100644
index 187946da4e..0000000000
--- a/testsuite/tests/dph/sumnats/SumNatsVect.hs
+++ /dev/null
@@ -1,14 +0,0 @@
-{-# LANGUAGE ParallelArrays #-}
-{-# OPTIONS -fvectorise #-}
-module SumNatsVect (sumNats) where
-
-import Data.Array.Parallel.Prelude
-import Data.Array.Parallel.Prelude.Int as I
-
-import qualified Prelude as P
-
-sumNats :: Int -> Int
-sumNats maxN
- = sumP [: x | x <- enumFromToP 0 (maxN I.- 1)
- , (x `mod` 3 I.== 0) || (x `mod` 5 I.== 0) :]
-