Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian "DragonLord" Wong authored and Brian "DragonLord" Wong committed Dec 28, 2014
1 parent cde7354 commit ef365df
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,14 @@ An example build command would look like this:

gcc -O1 -funroll-loops -DDSIZE=double -DISIZE=int32_t -o hi64-double hi64.c hkernel.c

The macros in the "Adjustable Defines" section of hi64.h determine the behavior
of the benchmark, such as when to stop the benchmark and how many laps to run
per trial. Notable options include:
A Makefile is included to simplify compilation of the benchmark. Running `make`
or `mingw32-make` will generate binaries which use `DSIZE` of 16-, 32-, and
64-bit integers as well as single-, double-, and extended-precision
floating-point numbers.

The macros in the "Adjustable Defines" section of `hi64.h` determine the
behavior of the benchmark, such as when to stop the benchmark and how many laps
to run per trial. Notable options include:

- `ADVANCE`: The amount by which to multiply the number of subintervals for
successive trial. This value must be greater than 1. Smaller values increase
Expand Down Expand Up @@ -125,6 +130,11 @@ per trial. Notable options include:
The remaining options may be ignored. The non-adjustable defines should not be
changed as doing so may break the benchmark.

These options may be set at the compiler command line by adding a parameter such
as `-DNTRIAL=3`, or as parameters to `make`, as in `NTRIAL=3`. Parameters which
may be set this way include `ADVANCE`, `NCHUNK`, `NTRIAL`, `PATIENCE`, `RUNTM`,
`STOPRT`, and `STOPTM`.

## Usage

HI64 saves its output to a directory whose name is determined by the first
Expand Down

0 comments on commit ef365df

Please sign in to comment.