Index: PiXPU.py
===================================================================
--- PiXPU.py	(revision 191)
+++ PiXPU.py	(revision 192)
@@ -529,9 +529,10 @@
         print("No XPU #%i found in all of %i devices, sorry..." % (Device,Id-1))
         sys.exit()              
 
+        
     # Je cree le contexte et la queue pour son execution
     try:
-        ctx = cl.Context([XPU])
+        ctx = cl.Context(devices=[XPU])
         queue = cl.CommandQueue(ctx,properties=cl.command_queue_properties.PROFILING_ENABLE)
     except:
         print("Crash during context creation")
@@ -762,12 +763,14 @@
             Iterations = numpy.uint64(arg)
         elif opt in ("-b", "--blocksbegin"):
             BlocksBegin = int(arg)
+            BlocksEnd= BlocksBegin
         elif opt in ("-e", "--blocksend"):
             BlocksEnd = int(arg)
         elif opt in ("-s", "--blocksstep"):
             BlocksStep = int(arg)
         elif opt in ("-f", "--threadsfirst"):
             ThreadsBegin = int(arg)
+            ThreadsEnd = ThreadsBegin
         elif opt in ("-l", "--threadslast"):
             ThreadsEnd = int(arg)
         elif opt in ("-t", "--threadsstep"):
