From e035f35f7f99b53864888e98a51d4ef5cf2c0518 Mon Sep 17 00:00:00 2001 From: adash Date: Tue, 13 Oct 2009 23:08:36 +0000 Subject: [PATCH] missed a placement of manual prefetch --- .../src/Benchmarks/Prefetch/ManualPrefetch/KMeans/Normal.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Robust/src/Benchmarks/Prefetch/ManualPrefetch/KMeans/Normal.java b/Robust/src/Benchmarks/Prefetch/ManualPrefetch/KMeans/Normal.java index b0911a75..13494362 100644 --- a/Robust/src/Benchmarks/Prefetch/ManualPrefetch/KMeans/Normal.java +++ b/Robust/src/Benchmarks/Prefetch/ManualPrefetch/KMeans/Normal.java @@ -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; -- 2.34.1