missed a placement of manual prefetch
authoradash <adash>
Tue, 13 Oct 2009 23:08:36 +0000 (23:08 +0000)
committeradash <adash>
Tue, 13 Oct 2009 23:08:36 +0000 (23:08 +0000)
Robust/src/Benchmarks/Prefetch/ManualPrefetch/KMeans/Normal.java

index b0911a75940a3f401e0f1efe02f74d1a3ebbb901..13494362f44b3f9072f21075981245557643a8a2 100644 (file)
@@ -113,12 +113,13 @@ public class Normal {
     npoints = args.npoints;
 
     //Add Manual prefetch for 
-        //args.feature[start-> stop]
+    //args.feature[start-> stop]
     short[] offsets = new short[4];
     offsets[0] = getoffset{GlobalArgs, feature};
     offsets[1] = (short) 0;
     offsets[2] = (short) start;
     offsets[3] = (short) npoints;
+    System.rangePrefetch(args, offsets);
     //args.clusters[0-> nclusters]
     offsets[0] = getoffset{GlobalArgs, clusters};
     offsets[1] = (short) 0;