Skip to content
Snippets Groups Projects
Unverified Commit d48a267f authored by Isuru Fernando's avatar Isuru Fernando Committed by GitHub
Browse files

Nicer log message (#565)

* Nicer log message

* Fix formatting
parent 08f102df
No related branches found
No related tags found
No related merge requests found
Pipeline #271725 passed
......@@ -922,7 +922,8 @@ def memoize_on_disk(func, key_builder_t=LoopyKeyBuilder):
if args and isinstance(args[0], LoopKernel):
proc_log_str = f"{func.__name__} on '{args[0].name}'"
elif args and isinstance(args[0], TranslationUnit):
proc_log_str = f"{func.__name__} on '{args[0].entrypoints}'"
entrypoints_str = ", ".join(args[0].entrypoints)
proc_log_str = f"{func.__name__} on '{entrypoints_str}'"
else:
proc_log_str = f"{func.__name__}"
......
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