Skip to content
forked from samaid/mcpi

Monte Carlo estimation of Pi using numpy, numba, dpnp, numba-dpex

License

Notifications You must be signed in to change notification settings

mingjie-intel/mcpi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MCPI - Monte Carlo estimation of Pi using numpy, numba, dpnp, numba-dpex

This is a "Hello, World" application in Monte Carlo methods. It stresses random number generation along with some other math required for implementation of the Acceptance-Rejection technique.

How to run

python mcpi [options]

The following options are allowed:

  • --variant [numpy, numba, dpnp, numba-dpex] (default numpy): Implementation variant
  • --task-size (default 102400000, 8): Batch size followed by a total number of batches

About

Monte Carlo estimation of Pi using numpy, numba, dpnp, numba-dpex

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 98.9%
  • Python 1.1%