Skip to content

Commit 529d33c

Browse files
author
Diptorup Deb
committed
Fix return type annotation
1 parent 2ab2608 commit 529d33c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

numba_dpex/experimental/kernel_dispatcher.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"""
88
from collections import namedtuple
99
from contextlib import ExitStack
10+
from typing import Tuple
1011

1112
import numba.core.event as ev
1213
from numba.core import errors, sigutils, types
@@ -103,7 +104,7 @@ def compile(self, args, return_type):
103104

104105
def _compile_cached(
105106
self, args, return_type: types.Type
106-
) -> _KernelCompileResult:
107+
) -> Tuple[bool, _KernelCompileResult]:
107108
"""Compiles the kernel function to bitcode and generates a host-callable
108109
wrapper to submit the kernel to a SYCL queue.
109110

0 commit comments

Comments
 (0)