Hello,
I would like to know if someone has used the new nvidia GPU GeForce RTX series, because we are interesting to purchase that specific GPU and we really want to know if it is going to work properly for MCX.
hi Johan
I ordered an RTX2080, hopefully will get it by Friday, will post my experience here.
You can also see a related discussion in a separate thread:
Qianqian
Thank so much for your time,
Best,
Johan.
--
You received this message because you are subscribed to the Google Groups "mcx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mcx-users+...@googlegroups.com.
To post to this group, send email to mcx-...@googlegroups.com.
Visit this group at https://groups.google.com/group/mcx-users.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to mcx-...@googlegroups.com.
To post to this group, send email to mcx-...@googlegroups.com.
Visit this group at https://groups.google.com/group/mcx-users.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "mcx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mcx-...@googlegroups.com.
Hi Dr. Fang,
I am glad that you have been able to test out the new RTX card. Past the simulation speeds, are you (or anyone else testing out multiple GPU architectures) able to comment on any changes in the "accuracy" of the results? Do you any significant changes in the output of the same simulation across GPU architectures?
Thank you for thoughts on this.
hi Jeremy
My short answer to your question is "no", there is no significant impact to MCX simulation accuracy on different generations of GPUs.
here is why (the long version):
First, the "errors" in an MC simulation result are (strongly) dominant by its stochastic noise (shot-noise) due to limited photon numbers. The magnitude of such noise is so big that numerical round-off errors is insignificant. We have characterized the stochastic
noise in our recently published
denoising paper on JBO (see Section 2.3 and Fig. 4). Even for 10^8 photons, a big portion of the simulated volume has an SNR lower than 40dB (i.e. the std of the stochastic noise is >1% of the averaged intensity). In comparison, the round-off error typically
appears on the 6th-7th digit of the data (single precision) which is orders of magnitude lower than the stochastic noise.
As I mentioned previously, my student Leiming Yu is current working on an expanded study to investigate the impact of storage precision to MCX output. The particular interests are to answer two questions 1) whether half-precision math can lead to faster
speed without loosing accuracy, and 2) whether double-precision is necessary for MC simulations. Our answers are "yes", and "no". Will share more details about this study once once he completes the draft.
Second, the numerical "accuracy" (and also related, "repeatability") is not guaranteed in parallel computing, even with high-precision storage. The reason is that +/* are not
associative anymore if operands are in limited precision, in other words - (a1+a2)=a3 is not the same as a1+(a2+a3). In parallel computing (particularly massively parallel ones), when accumulating values by multiple threads, the order matters, and typically,
such order is not guaranteed and is governed by the scheduler. For MMC, if you run multiple threads, your result will always be slightly different; for MCX, the CUDA scheduler is surprisingly deterministic and produce nearly repeatable results, but if you
change thread numbers or block numbers, the results will be different again. However, given point#1, even there is a small variation due to floating-point round off, it is too small to be worried compared to the stochastic noise.
Third, we have applied relaxed math in both of our CUDA (-use_fast_math) and OpenCL (-DMCX_USE_NATIVE) code (can be disabled). These flags do not guarantee IEEE 754 compliant. The magnitude of the errors produced by these flags can be found in their reference
manuals. However, they are on the same scale as the numerical round-off error, and orders of magnitude smaller than the impact of changing the number of photons or seed.
So, in short, you don't need to worry about it.
Qianqian
To unsubscribe from this group and stop receiving emails from it, send an email to mcx-users+...@googlegroups.com.