mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2025-12-13 07:30:06 +01:00
After egg’s review.
This commit is contained in:
@@ -56,7 +56,8 @@ class KernelDG(nx.DiGraph):
|
||||
@staticmethod
|
||||
def get_load_line_number(line_number):
|
||||
# The line number of the load must be less than the line number of the instruction. The
|
||||
# offset is irrelevant, but it must be a machine number to avoid silly rounding issues.
|
||||
# offset is irrelevant, but it must be a machine number with trailing zeroes to avoid silly
|
||||
# rounding issues.
|
||||
return line_number - 0.125
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user