FIX #11 by changing the iaca_instrumentation call. For further information see pending issue https://github.com/RRZE-HPC/kerncraft/issues/99

This commit is contained in:
Jan Laukemann
2018-08-23 23:17:46 +02:00
parent a11b8a04a4
commit 6287d7a267

View File

@@ -871,8 +871,12 @@ def main():
+ '\'pip install --user kerncraft\' for installation.\nFor more information see '
+ 'https://github.com/RRZE-HPC/kerncraft', file=sys.stderr)
sys.exit(1)
iaca.iaca_instrumentation(input_file=filepath, output_file=filepath,
block_selection='manual', pointer_increment=1)
# Change due to newer kerncraft version (hopefully temporary)
#iaca.iaca_instrumentation(input_file=filepath, output_file=filepath,
# block_selection='manual', pointer_increment=1)
with open(filepath, 'r') as f_in, open(filepath[:-2] + '-iaca.s', 'w') as f_out:
iaca.iaca_instrumentation(input_file=f_in, output_file=f_out,
block_selection='manual', pointer_increment=1)
else:
osaca.inspect_binary()