-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #177 from PRUNERS/release-v2.0-beta.1
Release v2.0 beta.1
- Loading branch information
Showing
164 changed files
with
9,869 additions
and
9,136 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
This file was deleted.
Oops, something went wrong.
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,14 @@ | ||
# Benchmarks | ||
|
||
[Top-Level Documentation](../README.md) | ||
|
||
These benchmarks give insights into the usefulness of FLiT. Each benchmark has | ||
its own goals, either to demonstrate how FLiT can be useful, or to give | ||
insights into specific tools and functionalities. | ||
|
||
These benchmarks are also part of the installation, and can be copied from | ||
there to exercise FLiT's capabilities. They are installed in | ||
|
||
`$(PREFIX)/share/flit/benchmarks` | ||
|
||
[Top-Level Documentation](../README.md) |
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,27 @@ | ||
This is a test suite that was translated from the Polybench benchmark suite. | ||
The original can be found [here](http://web.cse.ohio-state.edu/~pouchet.2/software/polybench/). | ||
|
||
Each source file has a main class extending the FLiT test class while also | ||
parameterizing the size of input arrays for the given polyhedral kernel. | ||
The number of parameters varies from benchmark to benchmark. | ||
|
||
For convenience these classes can be specialized and entered into the FLiT tests | ||
by using the REGISTER_*N* macros where *N* is the number of parameterized arguments | ||
not including the float type used by FLiT. This macro takes the name of the base | ||
class as the first argument and numbers for all other arguments. | ||
|
||
To run the suite as is, with flit in your path: | ||
``` | ||
flit update | ||
flit make | ||
``` | ||
|
||
Manifest: | ||
-custom.mk: A FLiT generated makefile used to add additional flags to | ||
the compilations. | ||
-flit-config.toml: A FLiT generated configuration for integration into | ||
FLiT with a default setup for ibriggs on the machine | ||
fractus. | ||
-README.md: This file. | ||
-tests/*.cpp: Kernels from the Polybench suite. | ||
-tests/polybench_utils.hpp: Convenience functions and macros. |
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,39 @@ | ||
# This file is included at the end of the copied Makefile. If you have some | ||
# things you want to change about the Makefile, it is best to do it here. | ||
|
||
# additional source files to compile other than what is in '.' and 'tests/' | ||
# since those directories are added by a wildcard. | ||
SOURCE += | ||
|
||
# for when cuda is compiled, you can specify different source files | ||
CUSOURCE += | ||
|
||
# required compiler flags | ||
# for example, include directories | ||
# CC_REQUIRED += -I<path> | ||
# or defines | ||
# CC_REQUIRED += -DDEBUG_ENABLED=1 | ||
CC_REQUIRED += | ||
|
||
# required linker flags | ||
# for example, link libraries | ||
# LD_REQUIRED += -L<library-path> -l<library-name> | ||
# or rpath | ||
# LD_REQUIRED += -Wl,-rpath=<abs-path-to-library-dir> | ||
LD_REQUIRED += | ||
|
||
# compiler and linker flags respectively - specifically for a dev build | ||
# - DEV_CFLAGS: non-recorded compiler flags (such as includes) | ||
# - DEV_LDFLAGS: linker flags (also not under test) | ||
DEV_CFLAGS += | ||
DEV_LDFLAGS += | ||
|
||
# required compiler flags for CUDA | ||
NVCC_CFLAGS += | ||
|
||
# required link flags for CUDA | ||
NVCC_LINK += | ||
|
||
# compiler and linker flags respectively - specifically for a dev cuda build | ||
DEV_NVCC_CC += | ||
DEV_NVCC_LD += |
Oops, something went wrong.