Révision 262
| Pi/XPU/PiXPU.py (revision 262) | ||
|---|---|---|
| 1 | 1 |
#!/usr/bin/env python3 |
| 2 |
|
|
| 3 | 2 |
# |
| 4 | 3 |
# Pi-by-MonteCarlo using PyCUDA/PyOpenCL |
| 5 | 4 |
# |
| ... | ... | |
| 9 | 8 |
# |
| 10 | 9 |
# use -h for complete set of options |
| 11 | 10 |
# |
| 12 |
# CC BY-NC-SA 2011 : Emmanuel QUEMENER <emmanuel.quemener@gmail.com>
|
|
| 13 |
# Cecill v2 : Emmanuel QUEMENER <emmanuel.quemener@gmail.com>
|
|
| 14 |
# |
|
| 11 |
# CC BY-NC-SA 2011 : Emmanuel QUEMENER <emmanuel.quemener@ens-lyon.fr>
|
|
| 12 |
# |
|
| 13 |
# Part of matrix programs from: https://forge.cbp.ens-lyon.fr/svn/bench4gpu/
|
|
| 15 | 14 |
|
| 16 | 15 |
# Thanks to Andreas Klockner for PyCUDA: |
| 17 | 16 |
# http://mathema.tician.de/software/pycuda |
Formats disponibles : Unified diff