Skip to content

Latest commit

 

History

History
69 lines (47 loc) · 1.37 KB

README.md

File metadata and controls

69 lines (47 loc) · 1.37 KB

Distance Calculator

Travis CI Build Status

Prerequisites

Make sure that you've installed the following packages:

>= cmake 3.18
>= g++ 10.2 or >= clang 10.0
>= make 4.3

Archlinux

To install mentioned packages on archlinux run:

for g++:
sudo pacman -Sy cmake gcc make
for clang:
sudo pacman -Sy cmake clang make

Build

Please note that this build is tested with g++ 10.2.0 on linux kernel 5.8.6.1.

Clone the project:

git clone https://github.com/lnikon/distancecalculator

This projects depends on the following framework:

  • Catch2
  • GoogleBenchmark

Those are included as gitsubmodules, so you need to:

git submodule init
git submodule update

CUDA based calculation engine support is initially disabled. If you wish to enable then pass -DSUPPORT_CUDA_ENGINE=ON to cmake.

To build run the following instructions:

mkdir build && cd build
cmake .. -G "Unix Makefiles"
make -j4

Running Unit Tests

Unit Tests are located under ./build/tests directory. Some of the tests need to know the project root path, so before running the tests make sure to export following variable(s) from the project root:

export DISC_PROJECT_ROOT=$(pwd)

ToDo

  • Implement memory owernship strategies
  • Implement index sets and generators
  • Provide python bindings