cuda-samples/bin/x86_64/linux/release/APM_MC_EstimatePiInlineP.txt

15 lines
433 B
Plaintext
Raw Normal View History

2023-03-01 09:41:29 +08:00
Monte Carlo Estimate Pi (with inline PRNG)
==========================================
Estimating Pi on GPU (NVIDIA H100 PCIe)
Precision: single
Number of sims: 100000
Tolerance: 1.000000e-02
GPU result: 3.141480e+00
Expected: 3.141593e+00
Absolute error: 1.127720e-04
Relative error: 3.589644e-05
MonteCarloEstimatePiInlineP, Performance = 746954.33 sims/s, Time = 133.88(ms), NumDevsUsed = 1, Blocksize = 128