Comments (2)
I saw the list: http://mcx.space/gpubench/
Sorry for bothering you
Eidan.
from mcx.
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)
- Pytorch seems to be broken after calling pmcx.run()
- Tutorial on how to import arbitrary 3d shapes. HOT 1
- Error in make HOT 1
- pmcx buffer overflow error if bc parameter has 12 characters HOT 1
- "misaligned address" error when using cfg.invcdf and cfg.angleinvcdf
- Failed to apply double-float-buffer approach in #41 to `dref` cause loss of accuracy
- Tissue propoerty for different wavelenght HOT 2
- `pmcx.mcxlab` fails to typecast `traj.id` output from float32 to uint32
- mcx2json unable to export simulations of continuously-varying media
- mcxlab: Where to find "sphdiffusionslab.m" required by "demo_validation_heterogeneous.m"? HOT 1
- Support per voxel mua/mus/g/n continuous medium type
- Different scattering coefficient of water in demo_skinvessel.m compared to mcxyz.c HOT 1
- get absorbed energy by object HOT 8
- svmc is broken after commit 7e1aec0
- pmcx dettpsf overwrites input detp structure HOT 1
- [CRITICAL] double-multiplication of initial weight in single-pattern-source fluence output HOT 3
- Gaussian divergence for slit source HOT 3
- Replay fails when simulating with multiple light sources HOT 6
- Post v2024.2 release actions
- Multi-source simulation fails to return the source ID for detected photons and trajectories
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mcx.