-
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 all NumPy benchmarks got them running and documented them.
Of the 36 benchmarks 14 has implementation issues which includes segfaulting, cannot run with Bohrium due to lack of Bohrium features and other things. blacks_scholes-python_numpy: Supports dogma "High-Performance NumPy without changing a single line of code.". convolve-python_numpy: Dogmatized and documented Bohrium related issues. convolve_2d-python_numpy: Dogmatized and documented Bohrium related issues. convolve_3d-python_numpy: Dogmatized and documented Bohrium related issues. convolve_separate-python_numpy: Dogmatized and documented Bohrium related issues. gameoflife-python_numpy: Dogmatized. gauss-python_numpy: Dogmatized. Forgot this... heat_equation-python_numpy: Dogmatized. idl_init_bh-python-numpy: Fixed encoding error and noted issues. idl_init_fast-python-numpy: Documented issues. idl_init_orig-python-numpy: Documented issues. jacobi: Added a brief description and dogmatized NumPy version. jacobi-fixed: Added a brief description, dogmatized NumPy version and documented use of Bohrium features. jacobi_solve: Added a brief description and dogmatized NumPy version. k_nearest_neighbor: Documented issues. knn_naive: Added description and dogmatized Numpy implementation. knn_naive1: Added description and dogmatized Numpy implementation. knn_naive: Removed since it is a duplicate of knn_naive1. Leave knn_naive1 since it has history, knn_naive does not. lattice_boltzmann_D2Q9: Documented issues and use. lbm_3d: Documented use and dogmatized NumPy implementation. LMM_swaption_vec: Documented use and issues. lu: Brief docs and dogmatization. Moved the LMM swaption benchmark. benchmark-autodoc: Added display of issues and bohrium info. Added notes in benchmarks matrix about issues and bohrium specifics. jacobi_stencil: Same story... mc: Same story... mxmul: Same story. nbody: Same story. nbody: Same story. same story nbody_nice: Same story. ndstencil: Same story. point27: Same story. ndstencil: Added dogma. autodoc-benchmarks: Added the dogma-note to benchmark-matrix. Pricing and Shallow water. snakes_and_ladders... ... sor ... more... Went through all NumPy benchmarks got them running and documented them. Of the 36 benchmarks 14 has implementation issues which includes segfaulting, cannot run with Bohrium due to lack of Bohrium features and other things.
- Loading branch information
Showing
154 changed files
with
667 additions
and
418 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
File renamed without changes.
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 @@ | ||
A finance thing:: | ||
|
||
--size=1000000*10 | ||
|
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,3 @@ | ||
The view generator ``bohrium.stdviews`` module is used. | ||
|
||
Specifically the ``cartesian`` generator. |
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
File renamed without changes.
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,9 @@ | ||
Fails when running with Bohrium:: | ||
|
||
python -m bohrium convolve.py --size=25 --bohrium=True | ||
|
||
Produces the following error:: | ||
|
||
~/.local/lib/python2.7/site-packages/bohrium/__main__.py:20: RuntimeWarning: Encounter ing an operation not supported by Bohrium. It will be handled by the original NumPy. execfile(sys.argv[0]) | ||
Segmentation fault (core dumped) | ||
|
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,3 @@ | ||
The view generator ``bohrium.stdviews`` module is used. | ||
|
||
Specifically the ``cartesian`` generator. |
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
File renamed without changes.
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,9 @@ | ||
Fails when running with Bohrium:: | ||
|
||
python -m bohrium convolve_2d.py --size=25 --bohrium=True | ||
|
||
Produces the following error:: | ||
|
||
~/.local/lib/python2.7/site-packages/bohrium/__main__.py:20: RuntimeWarning: Encounter ing an operation not supported by Bohrium. It will be handled by the original NumPy. execfile(sys.argv[0]) | ||
Segmentation fault (core dumped) | ||
|
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,3 @@ | ||
The view generator ``bohrium.stdviews`` module is used. | ||
|
||
Specifically the ``cartesian`` generator. |
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
File renamed without changes.
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,10 @@ | ||
Fails when running with Bohrium:: | ||
|
||
python -m bohrium convolve_3d.py --size=25 --bohrium=True | ||
|
||
Produces the following error:: | ||
|
||
.local/lib/python2.7/site-packages/bohrium/__main__.py:21: RuntimeWarning: Encountering an operation not supported by Bohrium. It will be handled by the original NumPy. | ||
else: | ||
Segmentation fault (core dumped) | ||
|
8 changes: 2 additions & 6 deletions
8
benchmarks/convolve_separate_std/python_numpy/convolve_separate_std.py
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
File renamed without changes.
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,8 @@ | ||
Running:: | ||
|
||
python -m bohrium convolve_separate_std.py --size=500*15 --bohrium=True | ||
|
||
Produces the error:: | ||
|
||
Segmentation fault (core dumped) | ||
File renamed without changes.
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
File renamed without changes.
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
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Several issues with this Benchmark, it might have worked a year ago, but it currently relies on Bohrium features that no longer exists and other problems. | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Several issues, among them: | ||
|
||
* Does not use the benchpress util | ||
* Fails horribly when executed with Bohrium | ||
* ... | ||
|
||
Needs a lot of love. |
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,7 @@ | ||
Several issues, among them: | ||
|
||
* Does not use the benchpress util | ||
* Fails horribly when executed with Bohrium | ||
* ... | ||
|
||
Needs a lot of love. |
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 @@ | ||
Uses Bohrium features from ``bohrium.stdviews`` specifically ``no_border``, ``grid``, and ``diagonals``. |
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
This implementation runs jacobi on a quadratic grid until it converges. | ||
|
||
Example params: --size=1000 |
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 @@ | ||
Uses Bohrium features from ``bohrium.stdviews`` specifically ``no_border``, ``grid``, and ``diagonals``. |
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Run jacobi for a fixed number of iterations on a quadratic grid:: | ||
|
||
python jacobi_fixed.py --size=5000*10 | ||
|
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Runs Jacobi on a rectangular grid for until it converges or until max iterations is reached:: | ||
|
||
--size=1000*1000*100 | ||
|
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Runs jacobi on a rectangular grid without convergence for the given amount of iterations:: | ||
|
||
--size=5000*5000*10 | ||
|
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 @@ | ||
Does not actually call the implementation. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
A think this was an attempt at writing a better KNN implementation. |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Naive implementation of KNN --size=N*Features*Neighbors:: | ||
|
||
--size=20000000*10*4 | ||
|
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 @@ | ||
Copies data back and forth between NumPy and Bohrium:: | ||
|
||
.local/lib/python2.7/site-packages/bohrium/__main__.py:55: RuntimeWarning: Encountering an operation not supported by Bohrium. It will be handled by the original NumPy. | ||
|
Oops, something went wrong.