OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-SimpleGPUHashTable commits / 023961b

Updated readme
023961baa4b9e42858ef5f4d5987cc5efc81e730
by David Farrell <nosferalatu@gmail.com> · 2020-03-01T01:25:41.000Z

Changed files (1) +12 -0

README.md +12 -0
……@@ -1,3 +1,15 @@
1# About
2
3This project shows how to implement a simple hash table running on a GPU. It uses atomic operations to insert key/value
4pairs into a hash table on multiple GPU threads using linear probing. It uses CUDA for ease of development, but this can
5easily be ported to HLSL or GLSL.
6
7The hash table inserts 32 bit keys and 32 bit values. Deleting from the hash table is not implemented in this simple
8example, but it would be simple to implement deletion with tombstones. Similarly, lookups from the hash table are not
9implemented in this simple example, but would be a linear search through the table starting at the key's hash.
10
11For more information on lock free hash table design, read Preshing on Programming's [The World's Simplest Lock Free Hash Table](https://preshing.com/20130605/the-worlds-simplest-lock-free-hash-table/).
12
113# Prerequisites
214
315* CMake