Skip to content

temporal-hpc/euler-meets-cuda-rmq

Repository files navigation

euler-meets-cuda

Fork from stobis/euler-meets-cuda to solve RMQ queries with LCA queries over a cartesian tree and compare its results with temporal-hpc/rtxrmq

Cloning and building instructions

To clone the repository together with 3rd party dependencies

git clone [email protected]:temporal-hpc/euler-meets-cuda-rmq.git
git submodule init
git submodule update

You may wish to update Makefile variables: CUDA, NVCC and you GPU's computing capability (NVCCSM) to match your system before building.

In case of stack overflow problems (e.g. segfaults when generating tests)

    ulimit -s unlimited

Build and run RMQ

make rmq

and run the executable rmq.e with the same arguments as the rtxrmq program.

./rtxrmq <n> <q> <lr>

n   = num elements
q   = num RMQ querys
lr  = length of range; min 1, max n
  >0 -> value
  -1 -> uniform distribution (big values)
  -2 -> lognormal distribution (medium values)
  -3 -> lognormal distribution (small values)
Options:
   --reps <repetitions>      RMQ repeats for the avg time (default: 10)
   --dev <device ID>         device ID (default: 0)
   --nt  <thread num>        number of CPU threads
   --seed <seed>             seed for PRNG
   --check                   check correctness
   --save-time=<file>
   --save-power=<file>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •