gtl
libcudacxx
gtl | libcudacxx | |
---|---|---|
5 | 4 | |
90 | 2,292 | |
- | - | |
7.1 | 7.9 | |
30 days ago | 3 months ago | |
C++ | C++ | |
Apache License 2.0 | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gtl
-
Inside boost::concurrent_flat_map
gtl library author here. Very nice writeup! Reading it made me think, and I believe I know why gtl::parallel_flat_hash_map performs comparatively worse for high-skew scenarios (just pushed a fix in gtl).
-
Boost 1.81 will have boost::unordered_flat_map...
I do this as well in my phmap and gtl implementations. It makes the tables look worse in benchmarks like the above, but prevents really bad surprises occasionally.
-
Comprehensive C++ Hashmap Benchmarks 2022
Thanks a lot for the great benchmark, Martin. Glad you used different hash functions, because I do sacrifice some speed to make sure that the performance of my hash maps doesn't degrade drastically with poor hash functions. Happy to see that my phmap and gtl (the C++20 version) performed well.
-
It is now trivial to cache pure functions with highly efficient, concurrent cache.
This is very easy to do with the latest version of gtl. And it is extremely efficient, as the caching mechanism uses the parallel hashmap, which internally is divided into N submaps each with its own mutex, reducing mutex contention to a minimum.
-
Updating map_benchmarks: Send your hashmaps!
AFAIK sparsepp has been dropped entirely in favor of the containers in GTL: https://github.com/greg7mdp/gtl
libcudacxx
-
Is it better to learn c or c++ for cuda?
If you are thinking of using new features through https://github.com/NVIDIA/libcudacxx , you'll have to learn c++
-
When will CUDA have C++ std libraries out of box in kernel function?
Checkout https://github.com/NVIDIA/libcudacxx
-
cuda-oxide: Host-safe CUDA Driver API
And an implementation of the C++ standard library for CUDA.
- Learn C in Y Minutes
What are some alternatives?
eytzinger - Cache-friendly associative STL-like container with an Eytzinger (BFS) layout for C++
Thrust - [ARCHIVED] The C++ parallel algorithms library. See https://github.com/NVIDIA/cccl
fph-table - Flash Perfect Hash Table: an implementation of a dynamic perfect hash table, extremely fast for lookup
stdgpu - stdgpu: Efficient STL-like Data Structures on the GPU
Google Test - GoogleTest - Google Testing and Mocking Framework
modern-cpp-tutorial - 📚 Modern C++ Tutorial: C++11/14/17/20 On the Fly | https://changkun.de/modern-cpp/
flat_hash_map - A very fast hashtable
HIP-CPU - An implementation of HIP that works on CPUs, across OSes.
google-sparsehash - Clone of google-sparsehash
gtl - A collection of useful well-commented, self-contained, simple, and/or interesting C++ classes
hashtable-bench - A benchmark for hash tables and hash functions in C++, evaluate on different data as comprehensively as possible
vim-cpp-modern - Extended Vim syntax highlighting for C and C++ (C++11/14/17/20/23)