greg7mdp
be87c4139e
Update version to 1.4.0
v1.4.0
2024-09-20 17:18:43 -04:00
greg7mdp
63acc3336f
Add CITATION.cff file.
2024-08-23 08:56:17 -04:00
greg7mdp
8a889d3699
Merge branch 'master' of github.com:greg7mdp/parallel-hashmap
2024-07-04 14:39:28 -04:00
greg7mdp
b47d143e1a
Rename poorly named get_inner_m.
2024-07-04 14:38:00 -04:00
greg7mdp
ef10614217
Add get_inner_m
2024-06-30 11:17:42 -04:00
greg7mdp
db29e68323
add ideas to llil
2024-06-30 11:16:22 -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
Dennis Nienhüser
e6845fb892
Add missing header for std::setw std::setprecision ( #241 )
2024-05-25 21:53:23 -04:00
greg7mdp
61a0395ae7
llil.cc - make string_cnt a template.
2024-04-07 20:45:06 -04:00
greg7mdp
322ee828b5
llil.cc - wip
2024-04-07 20:06:45 -04:00
greg7mdp
7c7ebd594f
llil.cc - wip
2024-04-07 19:37:46 -04:00
greg7mdp
f332852474
llil.cc - wip
2024-04-07 19:18:02 -04:00
greg7mdp
6eee4a7108
Add llil.cc - wip
2024-04-07 18:07:18 -04:00
greg7mdp
10368163ab
examples/llil4map.cc: remove explicit limit to 32 threads for sort.
2024-04-05 09:13:48 -04:00
greg7mdp
5f26979baa
llil4map example: Add string_cnt type, use a set, and other small updates.
2024-04-05 07:37:25 -04:00
greg7mdp
38dd6b5294
Add a couple minor simplifications to llil4map.cc
2024-04-01 08:57:48 -04:00
greg7mdp
84d0d48eac
Update llilmap script to calculate checksum instead of generating large output file.
2024-04-01 08:11:58 -04:00
greg7mdp
55fe94b1c5
minor update for running llil4map example.
2024-03-31 22:49:42 -04:00
greg7mdp
29c3091e50
Add map reset to llil4map.cc.
2024-03-31 22:06:55 -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
effca243e6
re-enable parallel sort in lill4map.cc.
2024-03-31 18:05:01 -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
Ali Ghaffaari
50fa648ae0
Fix nvcc warning about missing return statement ( #235 )
2024-03-11 18:21:20 -04:00
greg7mdp
67c24619e4
Fix nvcc warnings - issue #229
2024-02-04 10:18:44 -05:00
greg7mdp
65775fa09f
Update version to 1.3.12
v1.3.12
2024-01-28 23:18:32 -05:00
Gregory Popovitch
946ebad67a
Fix warnings with msvc. ( #225 )
...
* Fix warnings with msvc.
* Fix more warnings.
2023-12-09 12:23:51 -05:00
greg7mdp
d3f0b986bf
tentative fix for #224 .
2023-12-09 08:59:03 -05:00
Gregory Popovitch
0f0ecf724c
implement erase using erase_if_impl ( #223 )
2023-11-30 10:15:46 -05:00
Gregory Popovitch
4c93cf00f2
Remove the Upgrade lock stuff. ( #221 )
...
* Remove the `Upgrade` lock stuff.
* Need to repeat the `find()` if we released the mutex to get a write lock.
* Add a couple `assert`s.
2023-11-29 13:16:09 -05:00
bpmckinnon
7556c955d4
Add access to the slot in the lazy constructor. There is a specific use case where I want to cache a pointer to the newly created lazy object. If the capacity of the map does not change between the first and second call of my function, then I use the pointer instead of repeating the lookup. ( #219 )
...
Fixed an initialization order issue in ReadWriteLock
Fix the return value of lazy_emplace and lazy_emplace_with_hash.
2023-11-29 09:15:02 -05:00
greg7mdp
9248dcf07e
Add support for Windows phmap::srwlock
2023-11-19 18:14:48 -05:00
greg7mdp
d51c761733
Reduce verbosity with using directives.
2023-11-19 17:38:36 -05:00
Gregory Popovitch
4d7b07f526
Support ReadWriteLocks in more parallel map APIs. ( #217 )
2023-11-19 15:57:03 -05:00
greg7mdp
2ee44550e1
Whitespace changes (cleanup)
2023-11-18 23:29:47 -05:00
Gregory Popovitch
0046905791
Merge pull request #216 from greg7mdp/try_emplace_fine_locking
...
For parallel maps with read-capable mutexes, do read lock for lookup in `try_emplace_l`
2023-11-15 18:30:26 -05:00
greg7mdp
ff7bd78206
Take care of the case where another thread inserts the same key between unlock()/lock()
2023-11-13 09:48:49 -05:00
greg7mdp
21f14d7a8e
Add support for read/write locks
2023-11-12 18:50:18 -05:00
Gregory Popovitch
401552da80
Merge pull request #211 from bpmckinnon/OptimizeEraseIf
...
Optimization for parallel hash map erase_if function
2023-10-19 14:53:20 -04:00
Brian McKinnon
749a283bf3
Optimization for parallel hash map erase_if function. Deals only with inner set iterators to avoid overhead of using parallel map iterators.
...
Silence a constexpr warning in allocator test
2023-10-19 13:26:47 -05:00
greg7mdp
9f52b30958
Fix incorrect constant in reserve.
2023-10-09 17:24:06 -04:00
greg7mdp
b6ad902d48
Add reserve in p_bench.cc
2023-10-09 17:15:37 -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
Gregory Popovitch
c2fabc9ac0
Merge pull request #209 from jendrikseipp/patch-1
...
Allow compiling with -Wfloat-conversion
2023-10-01 17:25:05 -04:00
Gregory Popovitch
0412b85b08
Static cast to float after division.
2023-10-01 17:24:20 -04:00
Jendrik Seipp
b0f117d58e
Allow compiling with -Wfloat-conversion
2023-10-01 23:05:30 +02:00
greg7mdp
a7909d547c
Unused variable warning (issue #208 ) and remove c++17 dependency.
2023-09-29 10:36:21 -04:00