Coder Social home page Coder Social logo

waltsims / wos.cu Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.47 MB

a GPU based implementation of the Walking on Spheres Algorithm for a masters thesis at the Technical University of Munich

CMake 1.69% C++ 73.54% Cuda 24.59% C 0.13% Shell 0.05%

wos.cu's Introduction

WoS.cu

a GPU based implementation of the Walking on Spheres Algorithm for a masters thesis at the Technical University of Munich

Author

  • Walter Simson

Requirements

The following libraries are required

*CUDA compiler NVCC

Setup

We use cmake to generate a user friendly Makefile and to support various operating system setups.

To create a Makefile with CMake run the folling in the base project directory:

    cmake .

Please mind the period at the end. This process needs to be repeated only if the CMakeList.txt has been modified.

Once the Makefile is generated, you can build the project:

    make

Usage:

To compile with Debugging:

    cmake -DDEBUG=ON .

WARNING this will create many print outputs and greatly reduce performance: only for basic examples

To compile with convergence plot data active:

    cmake -DPLOT=ON .

more usage coming soon

Style Guide

For development you should install clang. We use clang's clang-format to keep our coding style consistent.

We also use google's C++ style guide. It is a reasonable guideline, used by a large organization to great success and at the same time it is an interesting read and can maybe even teach you something about C++.

You can use the script scripts/format to automatically reformat all the source files. Alternatively, try one of the integrations of clang-format into various editors/IDEs.

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.