Skip to content
Snippets Groups Projects
Commit bc4e4729 authored by Bine Brank's avatar Bine Brank
Browse files

fixed fcc

parent 2cfbf2b1
No related branches found
No related tags found
No related merge requests found
......@@ -8,3 +8,4 @@ Makefile
config.mk
run_all.sh
config.mk
config.mk
#!/bin/sh
#load armclang
#module load Generic-AArch64/RHEL/7/arm-hpc-compiler-19.3/armpl
#load gcc
#module load GCC
#load gcc
#module load Clang
#echo `which armclang`
#echo `which gcc`
#echo `which clang`
if [ "$#" -ne 1 ]; then
echo "Please specify which dataset to use.";
exit;
fi
#cd utilities
if test -f "output"; then
rm output
fi
if test -f "output_performance"; then
rm output_performance
fi
if test -f "datamining/correlation/Makefile"; then
perl utilities/clean.pl .
fi
# clean
#perl utilities/clean.pl .
# generate makefiles
perl utilities/makefile-gen.pl $1 -cfg
# generate headers
perl utilities/header-gen.pl .
# compile
#perl ./run-all.pl .. | tee /dev/tty | grep -E 'vectorized|clang|gcc|#' | grep -vE '(^rm)|(^cd)' > ../vectorization_summary
perl utilities/run-all.pl . $1 | tee output
grep "Gflop/s" output | tee output_performance
......@@ -151,7 +151,7 @@ open FILE, '>'.$TARGET_DIR.'/config.mk';
print FILE << "EOF";
asdfCFLAGS=/scratch/gem5_utils/libm5.a -march=armv8-a+sve -O3 -ffp-contract=fast -static -lpthread -DUSEM5OPS -I/scratch/gem5_utils -DPOLYBENCH_NO_FLUSH_CACHE -DREPEATKERNEL
CFLAGS=-march=armv8-a+sve -O3 -ffast-math -ffp-contract=fast -static -lpthread -DALTERSVELENGTH
CFLAGS=-march=armv8-a+sve -O3 -ffp-contract=fast -static -lpthread -DALTERSVELENGTH
NOVEC_GCC=-fno-tree-vectorize
NOVEC_CLANG=-fno-vectorize
......@@ -165,7 +165,7 @@ ARMCLANG=armclang
ARMCLANGREPORTFLAGS= -Rpass=loop-vectorize
CLANG=clang
CLANGREPORTFLAGS= -Rpass=loop-vectorize
FCC=fccpx -NCLANG
FCC=fccpx -Nclang
EOF
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment