GithubHelp home page GithubHelp logo

depaulmillz / lslab Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.12 MB

Implementation of the L-slab hash map introduced in KVCG.

Home Page: https://depaulmillz.github.io/lslab/docs/index.html

License: MIT License

CMake 4.27% Cuda 39.22% Dockerfile 0.33% Shell 0.14% Python 2.21% C++ 53.83%
gpu hash hashmap hashtable key-value

lslab's Introduction

lslab

Designed in "KVCG: A Heterogeneous Key-Value Store for Skewed Workloads" by dePaul Miller, Jacob Nelson, Ahmed Hassan, and Roberto Palmieri.

Hardware

Runs on Volta, sm_70, or greater.

Building

Requires CMake >= 3.18, Conan, and a CUDA version in 11.0 to 12.1.

We also require UnifiedMemoryGroupAllocation built through conan.

Get CMake from kitware and Conan from your favorite python package manager.

It is easiest to get conan from pip by running

pip install conan==1.58

Install CMake from Here!

Next make a build directory and install with conan, and then build.

mkdir build
cd build
conan install --build missing ..
conan build ..

Conan Options

  • cuda_arch is an option to specify the SM architecture you want to compile for, by default we compile for sm70 to sm90
  • cuda_compiler is an option to specify the CUDA compiler for example nvcc

Code Organization

  • include/lslab contains all of the lslab code
    • lslab.h contains basic macros
    • map.h contains a GPU interface for the map
    • hash.h contains GPU hash functions
    • device_allocator.h contains a device allocator
    • mutex.h contains a mutex implementation
    • set.h contains the set implementation
    • warp_mutex.h contains a cooperative warp mutex
    • detail contains extra implementation details
  • test contains tests
  • benchmark contains benchmarks

Clang Support

Clang seems to have an issue compiling the code that makes the tests fail. I am not going to fix this as of this moment unless necessary.

lslab's People

Contributors

depaulmillz avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.