Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Activate Mandel benchmark

  • Loading branch information...
commit 764178aea9afed5f75599a993a5c4a5ded5d5ad1 1 parent ddfb972
@rrnewton rrnewton authored
View
12 accelerate/run-accelerate-benchmark.hs
@@ -89,12 +89,15 @@ nbody_args = [1000,5000 .. 66000]
blackscholes_args :: [Integer]
blackscholes_args = [10000, 20000, 100000, 200000]
+mandel_args :: [Integer]
+mandel_args = [100,200,500,1000,2000,3000]
bls_desktop :: [Benchmark DefaultParamMeaning]
bls_desktop =
------ Traditional benchmarks ------
allBlackscholes
++ allNBodies
+ ++ allMandel
------ Multi-device benchmarks ------
-- ++ allMultiNBodies
@@ -124,6 +127,9 @@ bls_desktop =
allBlackscholes = concat [ allvariants (blackscholes (show arg))
| arg <- blackscholes_args ]
+ allMandel = concat [ allvariants (mandel (show arg))
+ | arg <- mandel_args ]
+
allNBodies = concat [ allvariants (nbody (show arg))
| arg <- nbody_args ] ++
concat [ allvariants (nbody_plusplus (show arg))
@@ -155,6 +161,12 @@ bls_desktop =
target= root++"nbody", -- Just the root
progname= Just "accelerate-nbody-float" }
+ mandel size var =
+ baseline { cmdargs=[size],
+ configs= And[ Set (Variant var) (RuntimeEnv "IGNORE_THIS" "")],
+ target= root++"mandel", -- Just the root
+ progname= Just "accelerate-mandel" }
+
nbody_plusplus size var =
baseline { cmdargs=[size],
configs= And[ Set (Variant var)
View
1  accelerate/run-accelerate-benchmark.sh
@@ -74,6 +74,7 @@ function add_all() {
add_all nbody
add_all nbody_plusplus
add_all blackscholes
+add_all mandel
# More individual benchmark directories:
DIRS+=" $HERE/scale_flops/seq_c \
Please sign in to comment.
Something went wrong with that request. Please try again.