Index: NBody.py
===================================================================
--- NBody.py	(revision 134)
+++ NBody.py	(revision 135)
@@ -44,6 +44,7 @@
 #define MYFLOAT8 float8
 #define MYFLOAT float
 #else
+#pragma OPENCL EXTENSION cl_khr_fp64: enable
 #define MYFLOAT4 double4
 #define MYFLOAT8 double8
 #define MYFLOAT double
@@ -441,25 +442,26 @@
             t1=np.append(t1,[MyData[1][0],MyData[1][1],MyData[1][2]])
             tL=np.append(tL,[MyData[-1][0],MyData[-1][1],MyData[-1][2]])
     print("\nDuration on %s for each %s" % (Device,(time.time()-time_start)/Iterations))
+
+    if GraphSamples:    
+        t0=np.transpose(np.reshape(t0,(Iterations+1,3)))
+        t1=np.transpose(np.reshape(t1,(Iterations+1,3)))
+        tL=np.transpose(np.reshape(tL,(Iterations+1,3)))
     
-    # t0=np.transpose(np.reshape(t0,(Iterations+1,3)))
-    # t1=np.transpose(np.reshape(t1,(Iterations+1,3)))
-    # tL=np.transpose(np.reshape(tL,(Iterations+1,3)))
+        import matplotlib.pyplot as plt
+        from mpl_toolkits.mplot3d import Axes3D
     
-#    import matplotlib.pyplot as plt
-#    from mpl_toolkits.mplot3d import Axes3D
-#    
-#    fig = plt.figure()
-#    ax = fig.gca(projection='3d')
-#    ax.scatter(t0[0],t0[1],t0[2], marker='^',color='blue')
-#    ax.scatter(t1[0],t1[1],t1[2], marker='o',color='red')
-#    ax.scatter(tL[0],tL[1],tL[2], marker='D',color='green')
-#   
-#    ax.set_xlabel('X Label')
-#    ax.set_ylabel('Y Label')
-#    ax.set_zlabel('Z Label')
-#
-#    plt.show()
+        fig = plt.figure()
+        ax = fig.gca(projection='3d')
+        ax.scatter(t0[0],t0[1],t0[2], marker='^',color='blue')
+        ax.scatter(t1[0],t1[1],t1[2], marker='o',color='red')
+        ax.scatter(tL[0],tL[1],tL[2], marker='D',color='green')
+   
+        ax.set_xlabel('X Label')
+        ax.set_ylabel('Y Label')
+        ax.set_zlabel('Z Label')
+
+        plt.show()
     
     clData.release()
     clKinetic.release()
