Skip to content

Cuda Implementation of a 2D Matrix holding data in a single thrust vector row-by-row

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE.md
Unknown
COPYING.md
Notifications You must be signed in to change notification settings

statphysandml/DevDat

Repository files navigation

Welcome to DevDat

License: MIT GitHub Workflow Status codecov Quality Gate Status

Prerequisites

Building DevDat requires the following software installed:

  • A C++17-compliant compiler
  • CMake >= 3.15
  • Cuda >=10.1

Building DevDat

The following sequence of commands builds DevDat. It assumes that your current working directory is the top-level directory of the freshly cloned repository:

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .

The build process can be customized with the following CMake variables, which can be set by adding -D<var>={ON, OFF} to the cmake call:

  • BUILD_TESTING: Enable building of the test suite (default: ON)

Testing DevDat

When built according to the above explanation (with -DBUILD_TESTING=ON), the C++ test suite of DevDat can be run using ctest from the build directory:

cd build
ctest

Building the example

The example directory demonstrates how the library can be integrated into a cmake project:

cd examples
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=~/DevDat/install ..   
cmake --build .

Note that we have assumed here that the library was built beforehand locally by running the following commands in the top-level directory of the repository:

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=./../install ..    
make install -j9

Documentation

ToDo

About

Cuda Implementation of a 2D Matrix holding data in a single thrust vector row-by-row

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE.md
Unknown
COPYING.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published