-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Went through C and C++ benchmarks, documented and added tool for comp…
…iling. Added "bin/" to .gitignore, changed CFLAGS order, added heat_equation readme. Changed c99 CFLAGS order. shallow_water-c99: Got it running with bp_util. Removed some empties and added notes on OpenCL implementation. Removed placeholders for unimplemented c99 and c11 benchmarks. They are annoying... really does not make any sense having them. shallow_water-cpp11_boost: Removed unused typedef. Output-printing is now the same for these benchmarks. Black Scholes armadillo implementation is now running. Got blitz running. Got black_scholes BXX running, holy **** it is good :)
- Loading branch information
Showing
735 changed files
with
792 additions
and
454 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
*.pyc | ||
build/ | ||
bin/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,3 @@ | ||
include ../Makefile.common | ||
|
||
all: benchmarks | ||
|
||
clean: | ||
rm -rf *.o *~ | ||
find bin/ -type f -name "*" -exec rm {} \; | ||
|
||
benchmarks: $(BENCHMARKS) | ||
|
||
# | ||
# Benchmarks | ||
# | ||
black_scholes: src/black_scholes.cpp | ||
$(CXX) $< -o bin/$@ $(CXXFLAGS) $(INCLUDE) $(LIBS) $(EXTRAS) | ||
|
||
mc: src/mc.cpp | ||
$(CXX) $< -o bin/$@ $(CXXFLAGS) $(INCLUDE) $(LIBS) $(EXTRAS) | ||
|
||
synth: src/synth.cpp | ||
$(CXX) $< -o bin/$@ $(CXXFLAGS) $(INCLUDE) $(LIBS) $(EXTRAS) | ||
|
||
include ../../_utils/cpp11/Makefile.common | ||
CXXFLAGS+=-fopenmp | ||
LIBS+=-larmadillo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,3 @@ | ||
include ../Makefile.common | ||
|
||
BENCHMARKS=mc | ||
|
||
all: benchmarks | ||
|
||
clean: | ||
rm -rf *.o *~ | ||
find bin/ -type f -name "*" -exec rm {} \; | ||
|
||
benchmarks: $(BENCHMARKS) | ||
|
||
# | ||
# Benchmarks | ||
# | ||
black_scholes: src/black_scholes.cpp | ||
echo $(BENCHMARKS) | ||
$(CXX) $< -o bin/$@ $(CXXFLAGS) $(INCLUDE) $(LIBS) $(EXTRAS) | ||
|
||
mc: src/mc.cpp | ||
$(CXX) $< -o bin/$@ $(CXXFLAGS) $(INCLUDE) $(LIBS) $(EXTRAS) | ||
|
||
synth: src/synth.cpp | ||
$(CXX) $< -o bin/$@ $(CXXFLAGS) $(INCLUDE) $(LIBS) $(EXTRAS) | ||
|
||
include ../../_utils/cpp11/Makefile.common | ||
CXXFLAGS+=-fopenmp | ||
LIBS+=-lblitz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
include ../../_utils/cpp11/Makefile.common | ||
CXXFLAGS+=-fopenmp | ||
LIBS+=-L$(HOME)/.local/lib -lbh | ||
INCLUDE+=-I$(HOME)/.local/include -I$(HOME)/.local/include/bohrium |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,3 @@ | ||
include ../Makefile.common | ||
|
||
all: benchmarks | ||
|
||
clean: | ||
rm -rf *.o *~ | ||
find bin/ -type f -name "*" -exec rm {} \; | ||
|
||
benchmarks: $(BENCHMARKS) | ||
|
||
# | ||
# Benchmarks | ||
# | ||
black_scholes: src/black_scholes.cpp | ||
$(CXX) $< -o bin/$@ $(CXXFLAGS) $(INCLUDE) $(LIBS) $(EXTRAS) | ||
|
||
mc: src/mc.cpp | ||
$(CXX) $< -o bin/$@ $(CXXFLAGS) $(INCLUDE) $(LIBS) $(EXTRAS) | ||
|
||
synth: src/synth.cpp | ||
$(CXX) $< -o bin/$@ $(CXXFLAGS) $(INCLUDE) $(LIBS) $(EXTRAS) | ||
|
||
include ../../_utils/cpp11/Makefile.common | ||
CXXFLAGS+=-fopenmp | ||
INCLUDE+=-I/usr/include/eigen3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Compilation errors. |
Oops, something went wrong.