diff --git a/bench/Makefile b/bench/Makefile index a8325cd4..24d2cf6b 100644 --- a/bench/Makefile +++ b/bench/Makefile @@ -1,4 +1,4 @@ -SRCS=$(shell find . -name "*.java") $(shell find ./scimark2src/jnt/scimark2 -name "*.java") +SRCS=$(shell find . -name "*.java") benchmark.jar: $(SRCS) rm -rf build diff --git a/bench/scimark2src/jnt/scimark2/FFT.java b/bench/scimark2src/jnt/scimark2/FFT.java index 3be928b6..fd7718a9 100644 --- a/bench/scimark2src/jnt/scimark2/FFT.java +++ b/bench/scimark2src/jnt/scimark2/FFT.java @@ -14,6 +14,7 @@ package jnt.scimark2; */ public class FFT { + final static int SEED = 113; public static final double num_flops(int N) { @@ -59,9 +60,10 @@ public class FFT { /** Make a random array of n (complex) elements. */ public static double[] makeRandom(int n){ int nd = 2*n; + Random R = new Random(SEED); double data[] = new double[nd]; for(int i=0; i