Skip to content

Commit e9636b3

Browse files
committed
Added docstring.
1 parent 03ae97d commit e9636b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kernel_tuner/utils/directives.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ def extract_initialization_code(code: str, langs: Code) -> str:
294294

295295

296296
def format_argument_fortran(p_type: str, p_size: int, p_name: str) -> str:
297+
"""Format the argument for Fortran code"""
297298
argument = ""
298299
if "float*" in p_type:
299300
argument = f"real (c_float), dimension({p_size}) :: {p_name}"

0 commit comments

Comments
 (0)