undef mac to avoid compiler warning
@@ -2162,6 +2162,8 @@ class KernelWriterSource(KernelWriter):
kStr += "#undef NUM_THREADS%s" % (self.endLine)
kStr += "#undef WORK_GROUP_MAPPING%s" % (self.endLine)
kStr += "#undef VECTOR_WIDTH%s" % (self.endLine)
+ kStr += "#undef TYPE_MAC%s" % (self.endLine)
+ kStr += "#undef TYPE_MAC_WRITE%s" % (self.endLine)
numMacs = 2 if kernel["PrefetchLocalRead"] else 1
for m in range(0, numMacs):
