GithubHelp home page GithubHelp logo

GPU required specifications about mcx HOT 2 CLOSED

fangq avatar fangq commented on June 27, 2024
GPU required specifications

from mcx.

Comments (2)

Eidantz avatar Eidantz commented on June 27, 2024

I saw the list: http://mcx.space/gpubench/
Sorry for bothering you
Eidan.

from mcx.

fangq avatar fangq commented on June 27, 2024

The estimation of the total memory needed by an MCX simulation is straightforward, from your script, you requested a volume of 500x500x1500 voxels, and a total of 10 time-gates, each voxel uses a 4-byte single-precision number to store fluence. if you convert this to bytes, you need 50050015004/1024/102410 = 14 GB global memory. In addition, MCX need twice of that size internally to improve accuracy, so, your simulation requires 14*2 = 28GB GPU memory.

if you look at all the GPUs on the market, you can almost never find a GPU with such amount of memory, except the super expensive v100 GPU. So, your simulation is just not realistic.

Even you can find a GPU with such a large memory, to produce a fluence map that every voxel has decent SNR will require a huge amount of photons. The runtime will also be unrealistic. Think about this, if you run a simulation on a grid with 100x100x100 voxels, if you refine the grid to 200x200x200, you will need 64 times more run-times to produce a simulation with comparable SNR - 8 fold comes from the increase number of voxels, and another 8-fold comes from launching 8x more photons to produce the same SNR.

My suggestion is always: start with a small domain, run a small number of photons, and see if your solution is acceptable, then gradually increase the photon number or domain size. Do not go the other way around.

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.