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 and Installing DevDat

The recommended way to build and install DevDat is with an out-of-source build:

cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$HOME/local
cmake --build build --target install

This will install DevDat to $HOME/local by default.
If you want to install to a different location, adjust the CMAKE_INSTALL_PREFIX accordingly.

Note: If you install to a custom location, set CMAKE_PREFIX_PATH when using DevDat in other projects:

cmake -S . -B build -DCMAKE_PREFIX_PATH=$HOME/local

Building and Running the Example

To build the example, first ensure DevDat is installed as above. Then:

cmake -S examples -B examples/build -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$HOME/local
cmake --build examples/build

To run the example:

./examples/build/devdat_examples

Running Tests

If you enabled tests (-DBUILD_TESTING=ON):

cmake -S . -B build -DBUILD_TESTING=ON
cmake --build build
cd build
ctest

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

Packages

No packages published