Add entries for local memory
@@ -52,6 +52,8 @@ public class FeatureExtractionUtilities {
newFeat.put("Global Memory Writes", (feat.get("Write") != null ? (feat.get("Write")) : 0));
newFeat.put("Global Memory Reads", (feat.get("FloatingRead") != null ? (feat.get("FloatingRead")) : 0));
+ newFeat.put("Local Memory Writes", 0);
+ newFeat.put("Local Memory Reads", 0);
newFeat.put("Total number of Loops", (feat.get("LoopBegin") != null ? (feat.get("LoopBegin")) : 0));
newFeat.put("Parallel Loops", (feat.get("GlobalThreadId") != null ? (feat.get("GlobalThreadId")) : 0));
newFeat.put("If Statements", ((feat.get("LoopBegin") != null && feat.get("If") != null) ? (feat.get("If") - feat.get("LoopBegin")) : 0));
