mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2026-01-05 18:50:08 +01:00
cover kernel with only unknown instructions
This commit is contained in:
@@ -278,6 +278,9 @@ class Frontend(object):
|
|||||||
else:
|
else:
|
||||||
# lcd_sum already calculated before
|
# lcd_sum already calculated before
|
||||||
tp_sum = ArchSemantics.get_throughput_sum(kernel)
|
tp_sum = ArchSemantics.get_throughput_sum(kernel)
|
||||||
|
# if ALL instructions are unknown, take a line of 0s
|
||||||
|
if not tp_sum:
|
||||||
|
tp_sum = kernel[0]['port_pressure']
|
||||||
cp_sum = sum([x['latency_cp'] for x in cp_kernel])
|
cp_sum = sum([x['latency_cp'] for x in cp_kernel])
|
||||||
s += (
|
s += (
|
||||||
lineno_filler
|
lineno_filler
|
||||||
|
|||||||
Reference in New Issue
Block a user