Git Product home page Git Product logo

Comments (3)

fangq avatar fangq commented on July 27, 2024

Implementation is progress. Initial result is very positive. MCX and MMC now match perfectly for both homogeneous and heterogeneous cases with scattering contrasts.

The boundary reflection code was also significantly simplified due to this new change.

Computational speed did get a hit - about 50% slow-down for Fermi (GTX 590) and 30% for Maxwell (GTX980Ti). NVVP profiler shows hot spots in the new ray-grid ray-tracing code. Need to further optimize to improve the speed.

Stay tuned.

from mcx.

fangq avatar fangq commented on July 27, 2024

Changes are completed

c7f9625

the precise ray-tracing algorithm does make a difference when an inclusion present scattering contrast (either in mus or in g). New algorithm returns smooth fluence profiles while the old algorithm generate a small discontinuity.

The computational speed was improved guided by NVVP profiling results. A bunch of register variables, which were actually stored in the local/global memory, were optimized by using shared memory. see my forum post at

https://devtalk.nvidia.com/default/topic/868118/?comment=4646254

These changes improved the performance on Maxwell by 50%; however, there is no noticeable speed improvement on Fermi or Kepler.

The old way of photon fluence accumulation, i.e. adding the photon weight to enclosing voxel at a fixed length (1mm) can still be simulated by setting "-F 1" or "--faststep 1". By default, faststep is disabled.

from mcx.

fangq avatar fangq commented on July 27, 2024

issue now closed

from mcx.

Related Issues (20)

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.