aboutsummaryrefslogtreecommitdiff
path: root/sort-benchmark/integers/notes.txt
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sort-benchmark/integers/notes.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/sort-benchmark/integers/notes.txt b/sort-benchmark/integers/notes.txt
new file mode 100644
index 0000000..7984803
--- /dev/null
+++ b/sort-benchmark/integers/notes.txt
@@ -0,0 +1,11 @@
1- Getting the parallel version to work was a pain. Two major gotchas:
2 (1) -ltbb had to be added *at the end* of the command line
3 (2) clang requires a libstdc++ option to make this work
4 of course everything was terrible to decipher with C++ compile errors
5 being the mess they are.
6- For measuring time I could also use
7 clock_t begin = clock();
8 ...
9 clock_t end = clock();
10 double time = (dobule)(end - begin) / CLOCKS_PER_SEC;
11 but it does not work with the parallel version (it meausres CPU clocks).

Generated with cgit - Back to sebastiano.tronto.net