Skip to content

Commit b8d4e82

Browse files
committed
Fixed type hint.
1 parent d2ec24a commit b8d4e82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernel_tuner/utils/directives.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Any
1+
from typing import Any, Tuple
22
from abc import ABC, abstractmethod
33
import numpy as np
44

@@ -686,7 +686,7 @@ def add_present_openacc_fortran(name: str, size: ArraySize) -> str:
686686
return f" present({name}({','.join(md_size)})) "
687687

688688

689-
def process_directives(langs: Code, source: str, user_dimensions: dict = None) -> tuple(dict, dict):
689+
def process_directives(langs: Code, source: str, user_dimensions: dict = None) -> Tuple[dict, dict]:
690690
"""Helper functions to process all the directives in the code and create tunable functions"""
691691
kernel_strings = dict()
692692
kernel_args = dict()

0 commit comments

Comments
 (0)