Commit dfeb125a authored by Ben Gamari's avatar Ben Gamari 🐢 Committed by Andreas Klebinger

real/hartel: Use LANGUAGE CPP pragma

parent 22dd930b
{-# LANGUAGE CPP #-}
{-# LANGUAGE MagicHash #-}
module Main (main) -- comp_lab_zift
where {
import System.Environment (getArgs);
......
TOP = ../../..
include $(TOP)/mk/boilerplate.mk
SRC_HC_OPTS += -cpp -fglasgow-exts
FAST_OPTS = 2
NORM_OPTS = 5
SLOW_OPTS = 9
......
{-# LANGUAGE CPP #-}
{-# LANGUAGE MagicHash #-}
module Main (main) -- event
where {
import System.Environment (getArgs);
......
TOP = ../../..
include $(TOP)/mk/boilerplate.mk
SRC_HC_OPTS += -cpp -fglasgow-exts
FAST_OPTS = 10000
NORM_OPTS = 100000
SLOW_OPTS = 500000
......
{-# LANGUAGE CPP #-}
{-# LANGUAGE MagicHash #-}
module Main (main) -- fft
where {
import System.Environment (getArgs);
......
TOP = ../../..
include $(TOP)/mk/boilerplate.mk
SRC_HC_OPTS += -cpp -fglasgow-exts
FAST_OPTS = 1
NORM_OPTS = 3
SLOW_OPTS = 5
......
{-# LANGUAGE CPP #-}
{-# LANGUAGE MagicHash #-}
module Main (main) -- genfft
where {
import System.Environment (getArgs);
......
TOP = ../../..
include $(TOP)/mk/boilerplate.mk
SRC_HC_OPTS += -cpp -fglasgow-exts
FAST_OPTS = 3
NORM_OPTS = 6
SLOW_OPTS = 8
......
{-# LANGUAGE CPP #-}
{-# LANGUAGE MagicHash #-}
module Main (main) -- ida
where {
import System.Environment (getArgs);
......
TOP = ../../..
include $(TOP)/mk/boilerplate.mk
SRC_HC_OPTS += -cpp -fglasgow-exts
# The first parameter varies the number of iterations,
# the second parameter is actual input. My measurements
# in #15999 show that we probably want to have a high
......
{-# LANGUAGE CPP #-}
{-# LANGUAGE MagicHash #-}
module Main (main) -- listcompr
where {
import System.Environment (getArgs);
......
TOP = ../../..
include $(TOP)/mk/boilerplate.mk
SRC_HC_OPTS += -cpp -fglasgow-exts
include $(TOP)/mk/target.mk
FAST_OPTS = 2000
......
{-# LANGUAGE CPP #-}
{-# LANGUAGE MagicHash #-}
module Main (main) -- listcopy
where {
import System.Environment (getArgs);
......
TOP = ../../..
include $(TOP)/mk/boilerplate.mk
SRC_HC_OPTS += -cpp -fglasgow-exts
include $(TOP)/mk/target.mk
FAST_OPTS = 2000
......
{-# LANGUAGE CPP #-}
{-# LANGUAGE MagicHash #-}
module Main (main) -- parstof
where {
import Control.Monad (replicateM_);
......
TOP = ../../..
include $(TOP)/mk/boilerplate.mk
SRC_HC_OPTS += -cpp -fglasgow-exts -H80M
SRC_HC_OPTS += -H80M
include $(TOP)/mk/target.mk
......
{-# LANGUAGE CPP #-}
{-# LANGUAGE MagicHash #-}
module Main (main) -- sched
where {
import Control.Monad (replicateM_);
......
TOP = ../../..
include $(TOP)/mk/boilerplate.mk
SRC_HC_OPTS += -cpp -fglasgow-exts
FAST_OPTS = 200 10
NORM_OPTS = 100 11
SLOW_OPTS = 500 11
......
{-# LANGUAGE CPP #-}
{-# LANGUAGE MagicHash #-}
module Main (main) -- solid
where {
import Control.Monad (replicateM_);
......
TOP = ../../..
include $(TOP)/mk/boilerplate.mk
SRC_HC_OPTS += -cpp -fglasgow-exts
FAST_OPTS = 5
NORM_OPTS = 9
SLOW_OPTS = 12
......
{-# LANGUAGE CPP #-}
{-# LANGUAGE MagicHash #-}
module Main (main) -- transform
where {
import System.Environment (getArgs);
......
TOP = ../../..
include $(TOP)/mk/boilerplate.mk
SRC_HC_OPTS += -cpp -fglasgow-exts
FAST_OPTS = 300
NORM_OPTS = 3000
SLOW_OPTS = 15000
......
{-# LANGUAGE CPP #-}
{-# LANGUAGE MagicHash #-}
module Main (main) -- typecheck
where {
import System.Environment (getArgs);
......
TOP = ../../..
include $(TOP)/mk/boilerplate.mk
SRC_HC_OPTS += -cpp -fglasgow-exts
FAST_OPTS = 500
NORM_OPTS = 5000
SLOW_OPTS = 25000
......
{-# LANGUAGE CPP #-}
{-# LANGUAGE MagicHash #-}
module Main (main) -- wang
where {
import Control.Monad (replicateM_);
......
TOP = ../../..
include $(TOP)/mk/boilerplate.mk
SRC_HC_OPTS += -cpp -fglasgow-exts
FAST_OPTS = 25
NORM_OPTS = 80
SLOW_OPTS = 150
......
{-# LANGUAGE CPP #-}
{-# LANGUAGE MagicHash #-}
module Main (main) -- wave4main
where {
import Control.Monad (replicateM_);
......
TOP = ../../..
include $(TOP)/mk/boilerplate.mk
SRC_HC_OPTS += -cpp -fglasgow-exts
FAST_OPTS = 8
NORM_OPTS = 80
SLOW_OPTS = 400
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment