Commit dc993953 authored by Ben Gamari's avatar Ben Gamari 🐢

real/hartel: Use LANGUAGE CPP pragma

parent cbd51e77
{-# LANGUAGE CPP #-}
{-# LANGUAGE MagicHash #-}
module Main (main) -- comp_lab_zift module Main (main) -- comp_lab_zift
where { where {
import System.Environment (getArgs); import System.Environment (getArgs);
......
TOP = ../../.. TOP = ../../..
include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/boilerplate.mk
SRC_HC_OPTS += -cpp -fglasgow-exts
FAST_OPTS = 2 FAST_OPTS = 2
NORM_OPTS = 5 NORM_OPTS = 5
SLOW_OPTS = 9 SLOW_OPTS = 9
......
{-# LANGUAGE CPP #-}
{-# LANGUAGE MagicHash #-}
module Main (main) -- event module Main (main) -- event
where { where {
import System.Environment (getArgs); import System.Environment (getArgs);
......
TOP = ../../.. TOP = ../../..
include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/boilerplate.mk
SRC_HC_OPTS += -cpp -fglasgow-exts
FAST_OPTS = 10000 FAST_OPTS = 10000
NORM_OPTS = 100000 NORM_OPTS = 100000
SLOW_OPTS = 500000 SLOW_OPTS = 500000
......
{-# LANGUAGE CPP #-}
{-# LANGUAGE MagicHash #-}
module Main (main) -- fft module Main (main) -- fft
where { where {
import System.Environment (getArgs); import System.Environment (getArgs);
......
TOP = ../../.. TOP = ../../..
include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/boilerplate.mk
SRC_HC_OPTS += -cpp -fglasgow-exts
FAST_OPTS = 1 FAST_OPTS = 1
NORM_OPTS = 3 NORM_OPTS = 3
SLOW_OPTS = 5 SLOW_OPTS = 5
......
{-# LANGUAGE CPP #-}
{-# LANGUAGE MagicHash #-}
module Main (main) -- genfft module Main (main) -- genfft
where { where {
import System.Environment (getArgs); import System.Environment (getArgs);
......
TOP = ../../.. TOP = ../../..
include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/boilerplate.mk
SRC_HC_OPTS += -cpp -fglasgow-exts
FAST_OPTS = 3 FAST_OPTS = 3
NORM_OPTS = 6 NORM_OPTS = 6
SLOW_OPTS = 8 SLOW_OPTS = 8
......
{-# LANGUAGE CPP #-}
{-# LANGUAGE MagicHash #-}
module Main (main) -- ida module Main (main) -- ida
where { where {
import System.Environment (getArgs); import System.Environment (getArgs);
......
TOP = ../../.. TOP = ../../..
include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/boilerplate.mk
SRC_HC_OPTS += -cpp -fglasgow-exts
# The first parameter varies the number of iterations, # The first parameter varies the number of iterations,
# the second parameter is actual input. My measurements # the second parameter is actual input. My measurements
# in #15999 show that we probably want to have a high # in #15999 show that we probably want to have a high
......
{-# LANGUAGE CPP #-}
{-# LANGUAGE MagicHash #-}
module Main (main) -- listcompr module Main (main) -- listcompr
where { where {
import System.Environment (getArgs); import System.Environment (getArgs);
......
TOP = ../../.. TOP = ../../..
include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/boilerplate.mk
SRC_HC_OPTS += -cpp -fglasgow-exts
include $(TOP)/mk/target.mk include $(TOP)/mk/target.mk
FAST_OPTS = 2000 FAST_OPTS = 2000
......
{-# LANGUAGE CPP #-}
{-# LANGUAGE MagicHash #-}
module Main (main) -- listcopy module Main (main) -- listcopy
where { where {
import System.Environment (getArgs); import System.Environment (getArgs);
......
TOP = ../../.. TOP = ../../..
include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/boilerplate.mk
SRC_HC_OPTS += -cpp -fglasgow-exts
include $(TOP)/mk/target.mk include $(TOP)/mk/target.mk
FAST_OPTS = 2000 FAST_OPTS = 2000
......
{-# LANGUAGE CPP #-}
{-# LANGUAGE MagicHash #-}
module Main (main) -- parstof module Main (main) -- parstof
where { where {
import Control.Monad (replicateM_); import Control.Monad (replicateM_);
......
TOP = ../../.. TOP = ../../..
include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/boilerplate.mk
SRC_HC_OPTS += -cpp -fglasgow-exts -H80M SRC_HC_OPTS += -H80M
include $(TOP)/mk/target.mk include $(TOP)/mk/target.mk
......
{-# LANGUAGE CPP #-}
{-# LANGUAGE MagicHash #-}
module Main (main) -- sched module Main (main) -- sched
where { where {
import Control.Monad (replicateM_); import Control.Monad (replicateM_);
......
TOP = ../../.. TOP = ../../..
include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/boilerplate.mk
SRC_HC_OPTS += -cpp -fglasgow-exts
FAST_OPTS = 200 10 FAST_OPTS = 200 10
NORM_OPTS = 100 11 NORM_OPTS = 100 11
SLOW_OPTS = 500 11 SLOW_OPTS = 500 11
......
{-# LANGUAGE CPP #-}
{-# LANGUAGE MagicHash #-}
module Main (main) -- solid module Main (main) -- solid
where { where {
import Control.Monad (replicateM_); import Control.Monad (replicateM_);
......
TOP = ../../.. TOP = ../../..
include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/boilerplate.mk
SRC_HC_OPTS += -cpp -fglasgow-exts
FAST_OPTS = 5 FAST_OPTS = 5
NORM_OPTS = 9 NORM_OPTS = 9
SLOW_OPTS = 12 SLOW_OPTS = 12
......
{-# LANGUAGE CPP #-}
{-# LANGUAGE MagicHash #-}
module Main (main) -- transform module Main (main) -- transform
where { where {
import System.Environment (getArgs); import System.Environment (getArgs);
......
TOP = ../../.. TOP = ../../..
include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/boilerplate.mk
SRC_HC_OPTS += -cpp -fglasgow-exts
FAST_OPTS = 300 FAST_OPTS = 300
NORM_OPTS = 3000 NORM_OPTS = 3000
SLOW_OPTS = 15000 SLOW_OPTS = 15000
......
{-# LANGUAGE CPP #-}
{-# LANGUAGE MagicHash #-}
module Main (main) -- typecheck module Main (main) -- typecheck
where { where {
import System.Environment (getArgs); import System.Environment (getArgs);
......
TOP = ../../.. TOP = ../../..
include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/boilerplate.mk
SRC_HC_OPTS += -cpp -fglasgow-exts
FAST_OPTS = 500 FAST_OPTS = 500
NORM_OPTS = 5000 NORM_OPTS = 5000
SLOW_OPTS = 25000 SLOW_OPTS = 25000
......
{-# LANGUAGE CPP #-}
{-# LANGUAGE MagicHash #-}
module Main (main) -- wang module Main (main) -- wang
where { where {
import Control.Monad (replicateM_); import Control.Monad (replicateM_);
......
TOP = ../../.. TOP = ../../..
include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/boilerplate.mk
SRC_HC_OPTS += -cpp -fglasgow-exts
FAST_OPTS = 25 FAST_OPTS = 25
NORM_OPTS = 80 NORM_OPTS = 80
SLOW_OPTS = 150 SLOW_OPTS = 150
......
{-# LANGUAGE CPP #-}
{-# LANGUAGE MagicHash #-}
module Main (main) -- wave4main module Main (main) -- wave4main
where { where {
import Control.Monad (replicateM_); import Control.Monad (replicateM_);
......
TOP = ../../.. TOP = ../../..
include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/boilerplate.mk
SRC_HC_OPTS += -cpp -fglasgow-exts
FAST_OPTS = 8 FAST_OPTS = 8
NORM_OPTS = 80 NORM_OPTS = 80
SLOW_OPTS = 400 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