Giter Site home page Giter Site logo

cement-psaap / mcdc-backintrack Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 2.0 1.65 MB

MC/DC-Back in Track: a lite version of MC/DC for testing and smooth integration of abstraction techniques

License: BSD 3-Clause "New" or "Revised" License

Python 100.00%

mcdc-backintrack's Introduction

MC/DC-Back In Track

Immitating key features of MC/DC, this code repository is created to test implementations of the selected metaprogramming libraries (Numba,) that are investigated in MC/DC-TNT. This strategically helps achieving smooth integration of proposed abstraction ideas into MC/DC.

A particular goal of this repo is to demonstrate a working Python-based implementation, that supports abstractions in running mode (pure Python or Numba), MC algorithm (history-based or event-based), and kernel threading target (CPUs or GPUs). This is achieved by innovative uses of Python decorator and meta-classes, which adapt pure Python, scalar, history-based kernels into the desired running mode, MC algorithm, and threading target.

Achievements so far:

  • Pure Python (history-based and event-based; only on CPU; useful for algorithm debugging)
  • Numba history-based and event-based on CPU (serial)
  • Numba event-based on GPU (unperformant)

TODO list:

  1. GPU reduction on global/small tally (in this test code, neutron leakage). This may require designing a new adapter type.
  2. Mesh tally. To implement the use of GPU atomics.
  3. GPU exclusive scan for thread syncing and reproducibility. This completes branching-event adapter and allows running Numba event-based on GPU (but only with branchless collision).
  4. GPU sorting for efficient particle bank memory access.
  5. GPU adapter for multiplying events (such as fission and weight window). This allows running Numba event-based on GPU without branchless collision.
  6. Consolidate different types of adapter.
  7. Others: Run in multiple GPUs and nodes via MPI4Py. Introduce PyOMP for CPU threading. Implement particle consolidation in history-based for GPU run. ...

mcdc-backintrack's People

Contributors

braxtoncuneo avatar ilhamv avatar

Watchers

 avatar  avatar  avatar

Forkers

jpmorgan98 ilhamv

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.