GithubHelp home page GithubHelp logo

zafar-hussain / distopia Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mdanalysis/distopia

0.0 1.0 0.0 7.71 MB

SIMD instructions for faster distance calculations.

Home Page: https://www.mdanalysis.org/distopia/

License: GNU General Public License v3.0

CMake 2.74% C++ 82.16% C 1.22% Python 12.35% Starlark 0.62% Shell 0.82% Cython 0.10%

distopia's Introduction

distopia

Faster distance calculations for the year 2020 ๐Ÿš€ ๐Ÿš€ ๐Ÿš€

Documentation can be found at https://www.mdanalysis.org/distopia/

To build:

  mkdir build
  cd build
  cmake ..
  make

or with Ninja:

  mkdir build 
  cd build
  cmake .. -GNinja
  ninja

To run the tests:

make test

or with Ninja:

ninja test

To control the instruction set use one the following CMake flags

  • -DDISTOPIA_USE_SSE1 for SSE
  • -DDISTOPIA_USE_SSE2 for SSE2
  • -DDISTOPIA_USE_SSE3 for SSE3
  • -DDISTOPIA_USE_SSSE3 for SSSE3
  • -DDISTOPIA_USE_SSE4_1 for SSE4.1
  • -DDISTOPIA_USE_SSE4_2 for SSE4.2
  • -DDISTOPIA_USE_AVX for AVX
  • -DDISTOPIA_USE_AVX2 for AVX2

Or you can let distopia choose for you (default)

To benchmark methods (from ./build) run the benchmarks binary:

  ./benchmarks

Distopia's documentation is made with breathe using a combination of Doxygen and Sphinx To build the docs, go to the doc directory and:

doxygen
make html

then point your browser to the generated documentation.

To assess code coverage build with cmake -DDISTOPIA_COVERAGE=ON and use either make or ninja to build the coverage targets tests_coverage or test_kernels_coverage. You can then view the resulting HTML gcovr coverage reports in your favourite browser.

distopia's People

Contributors

hmacdope avatar richardjgowers avatar nbgl avatar

Watchers

James Cloos 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.