diff --git a/kerncraft_coupling/kerncraft_interface.py b/kerncraft_coupling/kerncraft_interface.py index 0b63d91519a21f780c2040298d4999bdd784c450..a32dcb02162c82fb58ecb5eb6beb10ce6a507ecb 100644 --- a/kerncraft_coupling/kerncraft_interface.py +++ b/kerncraft_coupling/kerncraft_interface.py @@ -84,7 +84,8 @@ class PyStencilsKerncraftKernel(kerncraft.kernel.Kernel): '*': operationCount['muls'], '/': operationCount['divs'], } - + for k in [k for k, v in self._flops.items() if v == 0]: + del self._flops[k] self.check() def iaca_analysis(self, micro_architecture, asm_block='auto', @@ -152,6 +153,7 @@ class KerncraftParameters(DotDict): self['cores'] = 1 self['cache_predictor'] = 'SIM' self['verbose'] = 0 + self['pointer_increment'] = 'auto' class Analysis(object):