From 16db9de77703b67ac7ed04a7dd4c249169b91be5 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Mon, 29 Apr 2024 22:41:07 +0200 Subject: moved notes --- sort-benchmark/integers/notes.txt | 11 ----------- sort-benchmark/notes.txt | 11 +++++++++++ sort-benchmark/pairs/notes.txt | 11 ----------- 3 files changed, 11 insertions(+), 22 deletions(-) delete mode 100644 sort-benchmark/integers/notes.txt create mode 100644 sort-benchmark/notes.txt delete mode 100644 sort-benchmark/pairs/notes.txt (limited to 'sort-benchmark') diff --git a/sort-benchmark/integers/notes.txt b/sort-benchmark/integers/notes.txt deleted file mode 100644 index 7984803..0000000 --- a/sort-benchmark/integers/notes.txt +++ /dev/null @@ -1,11 +0,0 @@ -- Getting the parallel version to work was a pain. Two major gotchas: - (1) -ltbb had to be added *at the end* of the command line - (2) clang requires a libstdc++ option to make this work - of course everything was terrible to decipher with C++ compile errors - being the mess they are. -- For measuring time I could also use - clock_t begin = clock(); - ... - clock_t end = clock(); - double time = (dobule)(end - begin) / CLOCKS_PER_SEC; - but it does not work with the parallel version (it meausres CPU clocks). diff --git a/sort-benchmark/notes.txt b/sort-benchmark/notes.txt new file mode 100644 index 0000000..7984803 --- /dev/null +++ b/sort-benchmark/notes.txt @@ -0,0 +1,11 @@ +- Getting the parallel version to work was a pain. Two major gotchas: + (1) -ltbb had to be added *at the end* of the command line + (2) clang requires a libstdc++ option to make this work + of course everything was terrible to decipher with C++ compile errors + being the mess they are. +- For measuring time I could also use + clock_t begin = clock(); + ... + clock_t end = clock(); + double time = (dobule)(end - begin) / CLOCKS_PER_SEC; + but it does not work with the parallel version (it meausres CPU clocks). diff --git a/sort-benchmark/pairs/notes.txt b/sort-benchmark/pairs/notes.txt deleted file mode 100644 index 7984803..0000000 --- a/sort-benchmark/pairs/notes.txt +++ /dev/null @@ -1,11 +0,0 @@ -- Getting the parallel version to work was a pain. Two major gotchas: - (1) -ltbb had to be added *at the end* of the command line - (2) clang requires a libstdc++ option to make this work - of course everything was terrible to decipher with C++ compile errors - being the mess they are. -- For measuring time I could also use - clock_t begin = clock(); - ... - clock_t end = clock(); - double time = (dobule)(end - begin) / CLOCKS_PER_SEC; - but it does not work with the parallel version (it meausres CPU clocks). -- cgit v1.3