File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
numba_cuda/numba/cuda/tests/cudapy Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 22# SPDX-License-Identifier: BSD-2-Clause
33
44from numba import cuda
5- import numba .cuda . types as types
5+ from numba .cuda import types
66from numba .cuda import _HAS_NUMBA
77
88if _HAS_NUMBA :
@@ -338,7 +338,12 @@ def kernel(x):
338338 expected = CUDA_TARGET_OL_CALLS_TARGET_OL * CUDA_TARGET_OL
339339 self .check_overload (kernel , expected )
340340
341- # Also check that the CPU overloads are used on the CPU
341+ @skip_on_standalone_numba_cuda
342+ def test_target_overloaded_calls_target_overloaded_cpu (self ):
343+ def kernel (x ):
344+ target_overloaded_calls_target_overloaded (x )
345+
346+ # Check that the CPU overloads are used on the CPU
342347 expected = GENERIC_TARGET_OL_CALLS_TARGET_OL * GENERIC_TARGET_OL
343348 self .check_overload_cpu (kernel , expected )
344349
You can’t perform that action at this time.
0 commit comments