Skip to content

Commit

Permalink
Fix headers in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
neboat committed Sep 17, 2023
1 parent 987f90a commit 4f4ef30
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ int main(int argc, char *argv[]) {
}
```
### Parallel loops
#### Parallel loops
The `cilk_for` keyword can be used to define a parallel loop, in which all
iterations of the loop are allowed to execute simultaneously. In Cilk,
Expand All @@ -157,7 +157,7 @@ void square_matmul(double *C, const double *A, const double *B, size_t n) {
}
```

## Using OpenCilk's tools
### Using OpenCilk's tools

OpenCilk provides two Cilk-specific tools to check and analyze Cilk programs.
The Cilksan race detector checks Cilk programs dynamically for determinacy
Expand All @@ -171,7 +171,7 @@ programs. For example, to check your Cilk program for memory errors using
AddressSanitizer, compile and link your Cilk program with
the additional `-fsanitize=address` and then run it normally.

### Checking for races using Cilksan
#### Checking for races using Cilksan

For a given Cilk program and input, Cilksan is guaranteed to either detect a
determinacy race, if one exists, or certify that the program is
Expand Down Expand Up @@ -209,7 +209,7 @@ Race detected on location 1112ffd41
Call 100fff428 main nqueens.c:103:9
```

### Measuring parallel scalability using Cilkscale
#### Measuring parallel scalability using Cilkscale

To use Cilkscale, compile and link the Cilk program with the additional flag
`-fcilktool=cilkscale`, and then run the program normally.
Expand Down Expand Up @@ -260,7 +260,7 @@ a range of processor counts and plot those performance results. For more
information on Cilkscale's automatic benchmarking facility, see the
[Cilkscale user guide](https://www.opencilk.org/doc/users-guide/cilkscale/).
## Advanced Cilk programming features
### Advanced Cilk programming features
OpenCilk supports several advanced parallel-programming features, including
reducer hyperobjects and deterministic parallel random-number generation.
Expand Down Expand Up @@ -305,7 +305,7 @@ In this case, the function `zero_i` sets the identity value to be the
integer `0`, and `plus_i` defines a binary reduction of adding two
integers.

### Deterministic parallel random-number generation
#### Deterministic parallel random-number generation

OpenCilk supports deterministic parallel (pseudo)random-number
generation. A deterministic parallel random-number generator (DPRNG)
Expand Down

0 comments on commit 4f4ef30

Please sign in to comment.