Skip to content

Commit

Permalink
doc(wiki)[index]: added examplary output
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasrothenberger committed Jan 9, 2024
1 parent 16caceb commit b07dc46
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,19 @@ for f in $(find patch_generator -maxdepth 1 -type d); do
cat $f/1.patch
echo ""
done
```
```

## Exemplary output
The following is an automatically generatred, exemplary output patch file generated as show in the provided [examples](examples/examples.md).
```
--- /home/lukas/temp/discopop_tmp/discopop/example/example.cpp 2024-01-09 10:11:50.369555235 +0100
+++ /home/lukas/temp/discopop_tmp/discopop/example/example.cpp.discopop_patch_generator.temp 2024-01-09 11:14:20.904823624 +0100
@@ -20,6 +20,7 @@
Arr[i] = i % 13;
}
+ #pragma omp parallel for shared(Arr,N) reduction(+:sum)
for(int i = 0; i < N; i++){
sum += Arr[i];
}
```

0 comments on commit b07dc46

Please sign in to comment.