Skip to content

Commit 51352bc

Browse files
committed
Reformat.
1 parent d115cb0 commit 51352bc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

kernel_tuner/utils/directives.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -535,12 +535,14 @@ def allocate_signature_memory(data: dict, preprocessor: list = None, user_dimens
535535

536536
return args
537537

538+
538539
def add_new_line(line: str) -> str:
539540
"""Adds the new line character to the end of the line if not present"""
540541
if line.rfind("\n") != len(line) - 1:
541542
return line + "\n"
542543
return line
543544

545+
544546
def add_present_openacc(
545547
code: str, langs: Code, data: dict, preprocessor: list = None, user_dimensions: dict = None
546548
) -> str:

0 commit comments

Comments
 (0)