79 Commits

Author SHA1 Message Date
greg7mdp 8d29d95536 Download gtest unless PHMAP_DOWNLOAD_GTEST is turned off. 2025-10-15 22:49:31 -04:00
Sergey Fedorov 8bd66dc8ed CMakeLists.txt: use external gtest, fallback to fetching the source (#288)
See: https://github.com/greg7mdp/parallel-hashmap/issues/287
2025-10-15 17:31:01 -05:00
greg7mdp 2ec7990176 Update version number to 2.0.0 2025-01-21 10:50:42 -05:00
Gregory Popovitch debe606647 Add support for custom pointers. (#258)
* Add support for custom pointers.

* Add comment

* lowercase `OpenMP` in `CMakeLists.txt`
2024-11-02 17:48:08 -04:00
greg7mdp 22a7f6ca72 Update version to 1.4.1 2024-10-27 23:45:18 -04:00
greg7mdp 60acfa4690 Update new_release.md 2024-09-20 23:37:59 -04:00
greg7mdp 8a889d3699 Merge branch 'master' of github.com:greg7mdp/parallel-hashmap 2024-07-04 14:39:28 -04:00
scivision e5b892baed Correct CMake script. Improve C++ language feature selection (#243)
* cmake: correct minimum version

the previous script would fail with CMake < 3.13 anyway.

* cmake: canonical way to set C++ options

* ci: use modern CMake syntax

* doc: modern CMake syntax

* most compilers have C++17 fallthrough

* correct logic for [[noreturn]]

---------

Co-authored-by: scivision <scivision@users.noreply.github.com>
2024-06-25 19:58:33 -04:00
Dennis Nienhüser d88c5e1507 Link against TBB if available (#242) 2024-05-25 21:54:24 -04:00
greg7mdp 6eee4a7108 Add llil.cc - wip 2024-04-07 18:07:18 -04:00
greg7mdp 4aa19d6152 Add scripts directory for llilmap4 example. 2024-03-31 18:43:22 -04:00
greg7mdp cf27dbcf4b Rename to correct llil4map.cc name 2024-03-31 18:34:50 -04:00
greg7mdp 6f5d3ccc0d Add lill4map.cc example. Thank you @marioroy. 2024-03-31 18:03:39 -04:00
greg7mdp 7ef2e73341 Minor changes, mostly formatting and avoiding nvcc warnings. 2024-03-16 16:30:31 -04:00
greg7mdp 7e2b66c2b2 set include_directories only when needed. 2023-10-08 21:03:15 -04:00
greg7mdp 623f4c06d9 Add interesting benchmark by @samuelpmish 2023-10-08 20:00:32 -04:00
greg7mdp 93201da2ba Add hash_bench benchmark for hash functions. 2023-06-25 21:36:38 -04:00
greg7mdp 292c29dd9d Cleanup some compilation warnings with old gcc compiler. 2023-06-25 14:48:00 -04:00
greg7mdp 714d70b6ca Fix clang "thread-safety-analysis" warnings - issue #196 2023-06-11 10:02:00 -04:00
greg7mdp 45edb98cd9 Replace custom CompressedTuple with std::tuple. 2023-04-30 11:00:37 -04:00
greg7mdp 59d56923f5 Add example mt_word_counter 2023-04-09 18:48:26 -04:00
greg7mdp 87ece91c6e Fix comment showing how to use FetchContents - issue #182 2023-01-19 16:24:50 -05:00
greg7mdp f5e1638a91 update version number to start with the letter v 2022-10-01 16:04:30 -04:00
greg7mdp 4ca9c6a119 update version number 2022-10-01 15:53:35 -04:00
greg7mdp 267fc4ddc8 Modernize CMakeLists.txt and make gtest download optional 2022-09-30 22:36:59 -04:00
greg7mdp 8650bcc503 Fix compiler warning in btree - issue #156 2022-07-22 10:22:44 -04:00
greg7mdp 1249057455 Fix issue #158 - imperfect hash for tuple of small integers 2022-07-19 20:32:09 -04:00
greg7mdp 9e87d79404 Fix example to reflect new usage of lazy_emplace_l - issue #143 2022-06-20 19:54:26 -04:00
greg7mdp eb60b8ac59 minor cmake updates 2022-06-20 19:22:05 -04:00
greg 655dee936b Add ${CMAKE_CURRENT_SOURCE_DIR} to header path - issue #142 2022-05-07 16:12:57 -04:00
greg d8274d45ab add support for std::erase_if for hash containers - issue #141 2022-05-07 10:12:35 -04:00
greg7mdp 72ad036615 add include dir for cereal in case we want to try it 2021-12-26 20:28:52 -05:00
greg 7277c6ed23 fix build issue caused by googletest branch name change 2021-11-18 21:06:48 -05:00
greg 28bba43492 Update CMakeLists.txt 2021-11-08 19:54:12 -05:00
greg cfbf73626a Remove some forcing of compiler flags 2021-11-07 14:11:52 -05:00
greg 1f2671ff0a Update CMakeLists.txt 2021-05-26 07:49:33 -04:00
greg 031d214f2c Fix cmake issue when using phmap as a submodule - issue #100 2021-05-26 07:40:47 -04:00
greg 01d33e0dbb issue #53: add test suggestes by @fowles 2020-07-26 17:35:55 -04:00
greg 1a0fdbf3f3 set visual studio flags to accurately report and use latest c++ features. 2020-03-28 14:24:22 -04:00
greg 9191e51500 enable warning level for for tests (msvc) and cleanup some warnings. 2020-01-01 13:56:35 -05:00
greg 5e40c675e1 increase warning level in examples, and suppress two more warnings for msvc 2019-12-31 14:21:24 -05:00
greg 62f2c9ed97 disable a couple warnings that cause issues with tests and older compilers 2019-12-30 19:50:38 -05:00
greg 1e04e3f816 disable warnings when building btree_test.cc 2019-12-30 19:40:20 -05:00
greg 48144bc7f8 Add tests for btree and fix a couple issues. 2019-12-30 13:42:48 -05:00
greg 8834c9d624 simplify serialize.cc, add it to the examples in CMakeLists.txt 2019-09-08 11:12:12 -04:00
sunkaicheng ba121d043f added tests 2019-08-18 22:50:47 +08:00
sunkaicheng 5cd20dc4a6 added serialize compare and added parallel dump&load 2019-08-16 10:37:28 +08:00
sunkaicheng 5e5ade8c6e added load&dump interface 2019-08-14 23:09:22 +08:00
greg 9c6baa6c1c comment out serialize.cc example in CMakeLists as it requires Cereal. 2019-07-27 15:13:53 -04:00
greg 20bcc22b70 Do nothing when calling clear() on empty hash_map. Cereal does call map.clear() when deserializing. Issue #19. 2019-07-27 15:11:58 -04:00