mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2025-12-16 09:00:05 +01:00
fixed ignoring of last line without end marker
This commit is contained in:
@@ -23,6 +23,8 @@ def reduce_to_section(kernel, isa):
|
||||
raise ValueError('ISA not supported.')
|
||||
if start == -1:
|
||||
start = 0
|
||||
if end == -1:
|
||||
end = len(kernel)
|
||||
return kernel[start:end]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user