mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2025-12-16 09:00:05 +01:00
Merge branch 'master' into A64FX
This commit is contained in:
@@ -22,9 +22,9 @@ def reduce_to_section(kernel, isa):
|
||||
else:
|
||||
raise ValueError('ISA not supported.')
|
||||
if start == -1:
|
||||
raise LookupError('Could not find START MARKER. Make sure it is inserted!')
|
||||
start = 0
|
||||
if end == -1:
|
||||
raise LookupError('Could not find END MARKER. Make sure it is inserted!')
|
||||
end = len(kernel)
|
||||
return kernel[start:end]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user