Skip to content

Commit b12fdf1

Browse files
committed
bringing the repo to 2014
1 parent 7ad052d commit b12fdf1

31 files changed

+10790
-65
lines changed

Doxyfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
PROJECT_NAME = "Compressed Sparse Blocks"
2+
PROJECT_NUMBER = 1.2
3+
OUTPUT_DIRECTORY = doc
4+
OUTPUT_LANGUAGE = English
5+
EXTRACT_ALL = YES
6+
FILE_PATTERNS = *.cpp *.h
7+
RECURSIVE = YES
8+
PDF_HYPERLINKS = YES
9+
USE_PDFLATEX = YES
10+
SOURCE_BROWSER = YES

Makefile

Lines changed: 55 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,65 @@
1+
CILK = /opt/intel/composer_xe_2013.5.198/compiler
2+
INCADD = -I$(CILK)/include -I$(CILK)/examples/include
3+
LIBADD = -L$(CILK)/lib/intel64
4+
15
GCCOPT = -O2 -fno-rtti -fno-exceptions # -ftree-vectorize
26
INTELOPT = -O2 -no-ipo -fno-rtti -fno-exceptions -parallel -restrict -std=c++11 -xAVX -no-prec-div #-fno-inline-functions
37
DEB = -g -DNOBM -O0 -parallel -restrict -std=c++11
48

9+
seqsym: sym_spmv_test.cpp csbsym.cpp csbsym.h utility.h friends.h SSEspmv.o
10+
icpc -cilk-serialize $(INCADD) $(INTELOPT) -o seqsym sym_spmv_test.cpp SSEspmv.o
11+
12+
parsym: sym_spmv_test.cpp csbsym.cpp csbsym.h utility.h friends.h SSEspmv.o
13+
icpc $(INCADD) $(DEB) -o parsym sym_spmv_test.cpp SSEspmv.o
14+
15+
symanal: sym_spmv_test.cpp csbsym.cpp csbsym.h utility.h friends.h SSEspmv.o
16+
icpc -DSTATS $(INCADD) $(INTELOPT) -o symanal sym_spmv_test.cpp SSEspmv.o -lcilkutil
17+
18+
seqspmv: csb_spmv_test.cpp bicsb.cpp bicsb.h bmcsb.cpp bmcsb.h friends.h utility.h SSEspmv.o
19+
icpc -cilk-serialize $(INCADD) $(INTELOPT) -o seqspmv csb_spmv_test.cpp SSEspmv.o
20+
21+
parspmv: csb_spmv_test.cpp bicsb.cpp bicsb.h bmcsb.cpp bmcsb.h friends.h utility.h SSEspmv.o
22+
icpc $(INCADD) $(INTELOPT) -o parspmv csb_spmv_test.cpp SSEspmv.o
23+
24+
parspmv_nobm: csb_spmv_test.cpp bicsb.cpp bicsb.h friends.h utility.h
25+
icpc $(INCADD) $(INTELOPT) -DNOBM -o parspmv_nobm csb_spmv_test.cpp
26+
27+
parspmvt: csb_spmvt_test.cpp bicsb.cpp bicsb.h utility.h friends.h
28+
icpc $(INCADD) $(INTELOPT) -o parspmvt csb_spmvt_test.cpp
29+
30+
both_d: both_test.cpp bicsb.cpp bicsb.h utility.h friends.h
31+
icpc $(INCADD) $(INTELOPT) -o both_d both_test.cpp
32+
33+
both_s: both_test.cpp bicsb.cpp bicsb.h utility.h friends.h
34+
icpc $(INCADD) $(INTELOPT) -DSINGLEPRECISION -o both_s both_test.cpp
35+
36+
spmm_dall: spmm_test.cpp bicsb.cpp bicsb.h utility.h friends.h
37+
for number in 4 8 12 16 24 32 40 48 56 64; do \
38+
echo "icpc $(INCADD) $(INTELOPT) -DRHSDIM=$$number -o spmm_d$$number spmm_test.cpp"; \
39+
icpc $(INCADD) $(INTELOPT) -DRHSDIM=$$number -o spmm_d$$number spmm_test.cpp; \
40+
done;
41+
42+
spmm_a: spmm_test.cpp bicsb.cpp bicsb.h utility.h friends.h
43+
icpc $(INCADD) $(INTELOPT) -DSINGLEPRECISION -S -fcode-asm -vec_report6 spmm_test.cpp
544

6-
seqspmv: csb_spmv_test.cpp bicsb.cpp bicsb.h friends.h utility.h
7-
g++ $(INCADD) $(GCCOPT) -o seqspmv csb_spmv_test.cpp
45+
spmm_sall: spmm_test.cpp bicsb.cpp bicsb.h utility.h friends.h
46+
for number in 4 8 12 16 24 32 40 48 56 64; do \
47+
echo "icpc $(INCADD) $(INTELOPT) -DSINGLEPRECISION -DRHSDIM=$$number -o spmm_s$$number spmm_test.cpp"; \
48+
icpc $(INCADD) $(INTELOPT) -DSINGLEPRECISION -DRHSDIM=$$number -o spmm_s$$number spmm_test.cpp; \
49+
done;
850

51+
SSEspmv.o: SSEspmv.cpp
52+
g++ -DAMD $(GCCOPT) -march=amdfam10 -c SSEspmv.cpp
953

1054
clean:
1155
rm -f seqspmv
56+
rm -f seqsym
57+
rm -f parspmv
58+
rm -f parsym
59+
rm -f parspmvt
60+
rm -f parspmv_nobm
61+
for number in 8 16 24 32 40 48 56 64; do \
62+
rm -f spmm_s$$number;\
63+
rm -f spmm_d$$number;\
64+
done;
1265
rm -f *.o

README

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
Author: Aydin Buluc, LBNL, [email protected]
66
Date: 2/28/2014
77

8-
- The official release with better instructions for compilation/running is here: https://people.eecs.berkeley.edu/~aydin/csb/html/index.html
9-
- This github is to allow new development (i.e. OpenMP and OpenCilk porting, bringing the SpMM case vectorization to AVX2-AVX512)
10-
118
Classes
129
-------
1310

0 commit comments

Comments
 (0)