Skip to content
Snippets Groups Projects
Commit 38c5ec8e authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Print failing kernel in case of check problem.

parent b6245a95
No related branches found
No related tags found
No related merge requests found
......@@ -292,13 +292,21 @@ def check_bounds(kernel):
# }}}
def run_automatic_checks(kernel):
check_for_orphaned_user_hardware_axes(kernel)
check_for_double_use_of_hw_axes(kernel)
check_for_unused_hw_axes_in_insns(kernel)
check_for_inactive_iname_access(kernel)
check_for_write_races(kernel)
check_for_data_dependent_parallel_bounds(kernel)
check_bounds(kernel)
try:
check_for_orphaned_user_hardware_axes(kernel)
check_for_double_use_of_hw_axes(kernel)
check_for_unused_hw_axes_in_insns(kernel)
check_for_inactive_iname_access(kernel)
check_for_write_races(kernel)
check_for_data_dependent_parallel_bounds(kernel)
check_bounds(kernel)
except:
print 75*"="
print "failing kernel after processing:"
print 75*"="
print kernel
print 75*"="
raise
# {{{ sanity-check for implemented domains of each instruction
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment