Index: Pi/XPU/PiXPU.py
===================================================================
--- Pi/XPU/PiXPU.py	(revision 258)
+++ Pi/XPU/PiXPU.py	(revision 259)
@@ -3,9 +3,16 @@
 #
 # Pi-by-MonteCarlo using PyCUDA/PyOpenCL
 #
+# performs an estimation of Pi using Monte Carlo method
+# a large amount of iterations is divided and distributed to compute units
+# a lot of options are provided to perform scalabilty tests
+#
+# use -h for complete set of options
+#
 # CC BY-NC-SA 2011 : Emmanuel QUEMENER <emmanuel.quemener@gmail.com> 
 # Cecill v2 : Emmanuel QUEMENER <emmanuel.quemener@gmail.com>
 #
+
 # Thanks to Andreas Klockner for PyCUDA:
 # http://mathema.tician.de/software/pycuda
 # Thanks to Andreas Klockner for PyOpenCL:
@@ -665,16 +672,14 @@
     
     # Set defaults values
   
-    # Id of Device : 1 is for first find !
-    Device=1
     # GPU style can be Cuda (Nvidia implementation) or OpenCL
     GpuStyle='OpenCL'
     # Iterations is integer
-    Iterations=10000000
+    Iterations=1000000000
     # BlocksBlocks in first number of Blocks to explore
-    BlocksBegin=1
+    BlocksBegin=1024
     # BlocksEnd is last number of Blocks to explore
-    BlocksEnd=1
+    BlocksEnd=1024
     # BlocksStep is the step of Blocks to explore
     BlocksStep=1
     # ThreadsBlocks in first number of Blocks to explore
@@ -746,7 +751,6 @@
         
             sys.exit()
         
-        
         elif opt == '-o':
             OutMetrology=True
             Metrology='OutMetro'
@@ -781,6 +785,10 @@
         elif opt in ("-r", "--redo"):
             Redo = int(arg)
 
+    # If no device has been specified, take the first one!
+    if len(Devices)==0:
+        Devices.append(0)
+        
     print("Devices Identification : %s" % Devices)
     print("GpuStyle used : %s" % GpuStyle)
     print("Iterations : %s" % Iterations)
