6 errors detected in the compilation of "cupy_jitify_exercise"

Description
Running (at least some) cupyx tests fails on a machine with cusparseLt 0.5.2 installed (with https://github.com/cupy/cupy/pull/8074) and passes on a different machine which does not have cusparseLt at all. According to @leofang (https://github.com/cupy/cupy/pull/8074#issuecomment-1934642565) cusparseLt is a hed herring here.

Jitify Build Version         : 7e30a9581

vs
Jitify Build Version         : f64337981

@ev-br could you update your git submodules with
git submodule update --init --recursive

rebuild CuPy, and retry?

Keeps failing:
(cupyx2) ev-br@qgpu3:~/repos/cupy$ git submodule update --init
(cupyx2) ev-br@qgpu3:~/repos/cupy$ git submodule update --init --recursive
(cupyx2) ev-br@qgpu3:~/repos/cupy$ python setup.py develop
Generating cache key from header files...
Cache key (1531 files matching /home/ev-br/repos/cupy/cupy/_core/include/**): f2bac1ec28113821cd62aa8ee45664afd3bdee6b
Clearing directory: /home/ev-br/repos/cupy/cupy/.data

-------- Configuring Module: cuda --------

-------- Configuring Module: cusolver --------

-------- Configuring Module: cudnn --------

-------- Configuring Module: nccl --------

-------- Configuring Module: nvtx --------

-------- Configuring Module: cutensor --------

-------- Configuring Module: cub --------

-------- Configuring Module: jitify --------

-------- Configuring Module: random --------

-------- Configuring Module: thrust --------

-------- Configuring Module: cusparselt --------

-------- Configuring Module: dlpack --------

************************************************************
* CuPy Configuration Summary                               *
************************************************************

Build Environment:
  Include directories: ['/home/ev-br/repos/cupy/cupy/_core/include/cupy/_cccl/libcudacxx', '/home/ev-br/repos/cupy/cupy/_core/include/cupy/_cccl/thrust', '/home/ev-br/repos/cupy/cupy/_core/include/cupy/_cccl/cub', '/home/ev-br/repos/cupy/cupy/_core/include', '/usr/local/cuda/include']
  Library directories: ['/usr/local/cuda/lib64']
  nvcc command       : ['/usr/local/cuda/bin/nvcc']
  hipcc command      : (not found)

Environment Variables:
  CFLAGS          : (none)
  LDFLAGS         : (none)
  LIBRARY_PATH    : (none)
  CUDA_PATH       : (none)
  NVCC            : (none)
  HIPCC           : (none)
  ROCM_HOME       : (none)

Modules:
  cuda      : Yes (version 12010)
  cusolver  : Yes
  cudnn     : Yes (version 8800)
  nccl      : Yes (version 21904)
  nvtx      : Yes
  cutensor  : Yes (version 20000)
  cub       : Yes (version 200200)
  jitify    : Yes (version 7e30a9581)
  random    : Yes
  thrust    : Yes (version 200200)
  cusparselt: Yes (version 502)
  dlpack    : Yes
************************************************************

/home/ev-br/.conda/envs/cupyx2/lib/python3.10/site-packages/setuptools/__init__.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

        ********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.
        ********************************************************************************

!!
  dist.fetch_build_eggs(dist.setup_requires)
running develop
/home/ev-br/.conda/envs/cupyx2/lib/python3.10/site-packages/setuptools/command/develop.py:39: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` and ``easy_install``.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://github.com/pypa/setuptools/issues/917 for details.
        ********************************************************************************

!!
  easy_install.initialize_options(self)
/home/ev-br/.conda/envs/cupyx2/lib/python3.10/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
  self.initialize_options()
running egg_info
writing cupy.egg-info/PKG-INFO
writing dependency_links to cupy.egg-info/dependency_links.txt
writing requirements to cupy.egg-info/requires.txt
writing top-level names to cupy.egg-info/top_level.txt
reading manifest file 'cupy.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.pxi' under directory 'cupy'
warning: no files found matching '*.hpp' under directory 'cupy_backends'
warning: no previously-included files matching '*.cpp' found under directory 'cupy'
warning: no previously-included files matching '*.cpp' found under directory 'cupy_backends'
adding license file 'docs/source/license.rst'
writing manifest file 'cupy.egg-info/SOURCES.txt'
running build_ext
Cythonizing...
Compile-time constants: {
    "CUPY_USE_CUDA_PYTHON": false,
    "CUPY_CUFFT_STATIC": false,
    "CUPY_CYTHON_VERSION": "0.29.37",
    "CUPY_CUDA_VERSION": 12010,
    "CUPY_HIP_VERSION": 0
}
Building extensions...
cupy.cuda.cub: Device code: cupy/cuda/cupy_cub.cu
cupy.random._generator_api: Device code: cupy/random/cupy_distributions.cu
cupy.cuda.cub: Reusing cached object file: build/temp.device_objects/cupy/cuda/cupy_cub.cu.o
cupy.cuda.thrust: Device code: cupy/cuda/cupy_thrust.cu
cupy.random._generator_api: Reusing cached object file: build/temp.device_objects/cupy/random/cupy_distributions.cu.o
cupy.cuda.thrust: Reusing cached object file: build/temp.device_objects/cupy/cuda/cupy_thrust.cu.o
copying build/lib.linux-x86_64-cpython-310/cupy_backends/cuda/api/driver.cpython-310-x86_64-linux-gnu.so -> cupy_backends/cuda/api
copying build/lib.linux-x86_64-cpython-310/cupy_backends/cuda/api/_driver_enum.cpython-310-x86_64-linux-gnu.so -> cupy_backends/cuda/api
copying build/lib.linux-x86_64-cpython-310/cupy_backends/cuda/api/runtime.cpython-310-x86_64-linux-gnu.so -> cupy_backends/cuda/api
copying build/lib.linux-x86_64-cpython-310/cupy_backends/cuda/api/_runtime_enum.cpython-310-x86_64-linux-gnu.so -> cupy_backends/cuda/api
copying build/lib.linux-x86_64-cpython-310/cupy_backends/cuda/libs/cublas.cpython-310-x86_64-linux-gnu.so -> cupy_backends/cuda/libs
copying build/lib.linux-x86_64-cpython-310/cupy_backends/cuda/libs/curand.cpython-310-x86_64-linux-gnu.so -> cupy_backends/cuda/libs
copying build/lib.linux-x86_64-cpython-310/cupy_backends/cuda/libs/cusparse.cpython-310-x86_64-linux-gnu.so -> cupy_backends/cuda/libs
copying build/lib.linux-x86_64-cpython-310/cupy_backends/cuda/libs/nvrtc.cpython-310-x86_64-linux-gnu.so -> cupy_backends/cuda/libs
copying build/lib.linux-x86_64-cpython-310/cupy_backends/cuda/stream.cpython-310-x86_64-linux-gnu.so -> cupy_backends/cuda
copying build/lib.linux-x86_64-cpython-310/cupy_backends/cuda/_softlink.cpython-310-x86_64-linux-gnu.so -> cupy_backends/cuda
copying build/lib.linux-x86_64-cpython-310/cupy/_core/_accelerator.cpython-310-x86_64-linux-gnu.so -> cupy/_core
copying build/lib.linux-x86_64-cpython-310/cupy/_core/_carray.cpython-310-x86_64-linux-gnu.so -> cupy/_core
copying build/lib.linux-x86_64-cpython-310/cupy/_core/_cub_reduction.cpython-310-x86_64-linux-gnu.so -> cupy/_core
copying build/lib.linux-x86_64-cpython-310/cupy/_core/_dtype.cpython-310-x86_64-linux-gnu.so -> cupy/_core
copying build/lib.linux-x86_64-cpython-310/cupy/_core/_fusion_kernel.cpython-310-x86_64-linux-gnu.so -> cupy/_core
copying build/lib.linux-x86_64-cpython-310/cupy/_core/_fusion_thread_local.cpython-310-x86_64-linux-gnu.so -> cupy/_core
copying build/lib.linux-x86_64-cpython-310/cupy/_core/_fusion_trace.cpython-310-x86_64-linux-gnu.so -> cupy/_core
copying build/lib.linux-x86_64-cpython-310/cupy/_core/_fusion_variable.cpython-310-x86_64-linux-gnu.so -> cupy/_core
copying build/lib.linux-x86_64-cpython-310/cupy/_core/_kernel.cpython-310-x86_64-linux-gnu.so -> cupy/_core
copying build/lib.linux-x86_64-cpython-310/cupy/_core/_memory_range.cpython-310-x86_64-linux-gnu.so -> cupy/_core
copying build/lib.linux-x86_64-cpython-310/cupy/_core/_optimize_config.cpython-310-x86_64-linux-gnu.so -> cupy/_core
copying build/lib.linux-x86_64-cpython-310/cupy/_core/_reduction.cpython-310-x86_64-linux-gnu.so -> cupy/_core
copying build/lib.linux-x86_64-cpython-310/cupy/_core/_routines_binary.cpython-310-x86_64-linux-gnu.so -> cupy/_core
copying build/lib.linux-x86_64-cpython-310/cupy/_core/_routines_indexing.cpython-310-x86_64-linux-gnu.so -> cupy/_core
copying build/lib.linux-x86_64-cpython-310/cupy/_core/_routines_linalg.cpython-310-x86_64-linux-gnu.so -> cupy/_core
copying build/lib.linux-x86_64-cpython-310/cupy/_core/_routines_logic.cpython-310-x86_64-linux-gnu.so -> cupy/_core
copying build/lib.linux-x86_64-cpython-310/cupy/_core/_routines_manipulation.cpython-310-x86_64-linux-gnu.so -> cupy/_core
copying build/lib.linux-x86_64-cpython-310/cupy/_core/_routines_math.cpython-310-x86_64-linux-gnu.so -> cupy/_core
copying build/lib.linux-x86_64-cpython-310/cupy/_core/_routines_sorting.cpython-310-x86_64-linux-gnu.so -> cupy/_core
copying build/lib.linux-x86_64-cpython-310/cupy/_core/_routines_statistics.cpython-310-x86_64-linux-gnu.so -> cupy/_core
copying build/lib.linux-x86_64-cpython-310/cupy/_core/_scalar.cpython-310-x86_64-linux-gnu.so -> cupy/_core
copying build/lib.linux-x86_64-cpython-310/cupy/_core/core.cpython-310-x86_64-linux-gnu.so -> cupy/_core
copying build/lib.linux-x86_64-cpython-310/cupy/_core/flags.cpython-310-x86_64-linux-gnu.so -> cupy/_core
copying build/lib.linux-x86_64-cpython-310/cupy/_core/internal.cpython-310-x86_64-linux-gnu.so -> cupy/_core
copying build/lib.linux-x86_64-cpython-310/cupy/_core/fusion.cpython-310-x86_64-linux-gnu.so -> cupy/_core
copying build/lib.linux-x86_64-cpython-310/cupy/_core/new_fusion.cpython-310-x86_64-linux-gnu.so -> cupy/_core
copying build/lib.linux-x86_64-cpython-310/cupy/_core/raw.cpython-310-x86_64-linux-gnu.so -> cupy/_core
copying build/lib.linux-x86_64-cpython-310/cupy/cuda/common.cpython-310-x86_64-linux-gnu.so -> cupy/cuda
copying build/lib.linux-x86_64-cpython-310/cupy/cuda/cufft.cpython-310-x86_64-linux-gnu.so -> cupy/cuda
copying build/lib.linux-x86_64-cpython-310/cupy/cuda/device.cpython-310-x86_64-linux-gnu.so -> cupy/cuda
copying build/lib.linux-x86_64-cpython-310/cupy/cuda/memory.cpython-310-x86_64-linux-gnu.so -> cupy/cuda
copying build/lib.linux-x86_64-cpython-310/cupy/cuda/memory_hook.cpython-310-x86_64-linux-gnu.so -> cupy/cuda
copying build/lib.linux-x86_64-cpython-310/cupy/cuda/pinned_memory.cpython-310-x86_64-linux-gnu.so -> cupy/cuda
copying build/lib.linux-x86_64-cpython-310/cupy/cuda/function.cpython-310-x86_64-linux-gnu.so -> cupy/cuda
copying build/lib.linux-x86_64-cpython-310/cupy/cuda/stream.cpython-310-x86_64-linux-gnu.so -> cupy/cuda
copying build/lib.linux-x86_64-cpython-310/cupy/cuda/graph.cpython-310-x86_64-linux-gnu.so -> cupy/cuda
copying build/lib.linux-x86_64-cpython-310/cupy/cuda/texture.cpython-310-x86_64-linux-gnu.so -> cupy/cuda
copying build/lib.linux-x86_64-cpython-310/cupy/fft/_cache.cpython-310-x86_64-linux-gnu.so -> cupy/fft
copying build/lib.linux-x86_64-cpython-310/cupy/fft/_callback.cpython-310-x86_64-linux-gnu.so -> cupy/fft
copying build/lib.linux-x86_64-cpython-310/cupy/lib/_polynomial.cpython-310-x86_64-linux-gnu.so -> cupy/lib
copying build/lib.linux-x86_64-cpython-310/cupy/_util.cpython-310-x86_64-linux-gnu.so -> cupy
copying build/lib.linux-x86_64-cpython-310/cupy_backends/cuda/libs/cusolver.cpython-310-x86_64-linux-gnu.so -> cupy_backends/cuda/libs
copying build/lib.linux-x86_64-cpython-310/cupyx/cusolver.cpython-310-x86_64-linux-gnu.so -> cupyx
copying build/lib.linux-x86_64-cpython-310/cupy_backends/cuda/libs/cudnn.cpython-310-x86_64-linux-gnu.so -> cupy_backends/cuda/libs
copying build/lib.linux-x86_64-cpython-310/cupyx/cudnn.cpython-310-x86_64-linux-gnu.so -> cupyx
copying build/lib.linux-x86_64-cpython-310/cupy_backends/cuda/libs/nccl.cpython-310-x86_64-linux-gnu.so -> cupy_backends/cuda/libs
copying build/lib.linux-x86_64-cpython-310/cupy_backends/cuda/libs/nvtx.cpython-310-x86_64-linux-gnu.so -> cupy_backends/cuda/libs
copying build/lib.linux-x86_64-cpython-310/cupy_backends/cuda/libs/cutensor.cpython-310-x86_64-linux-gnu.so -> cupy_backends/cuda/libs
copying build/lib.linux-x86_64-cpython-310/cupyx/cutensor.cpython-310-x86_64-linux-gnu.so -> cupyx
copying build/lib.linux-x86_64-cpython-310/cupy/cuda/cub.cpython-310-x86_64-linux-gnu.so -> cupy/cuda
copying build/lib.linux-x86_64-cpython-310/cupy/cuda/jitify.cpython-310-x86_64-linux-gnu.so -> cupy/cuda
copying build/lib.linux-x86_64-cpython-310/cupy/random/_bit_generator.cpython-310-x86_64-linux-gnu.so -> cupy/random
copying build/lib.linux-x86_64-cpython-310/cupy/random/_generator_api.cpython-310-x86_64-linux-gnu.so -> cupy/random
copying build/lib.linux-x86_64-cpython-310/cupy/cuda/thrust.cpython-310-x86_64-linux-gnu.so -> cupy/cuda
copying build/lib.linux-x86_64-cpython-310/cupy_backends/cuda/libs/cusparselt.cpython-310-x86_64-linux-gnu.so -> cupy_backends/cuda/libs
copying build/lib.linux-x86_64-cpython-310/cupy/_core/dlpack.cpython-310-x86_64-linux-gnu.so -> cupy/_core
Creating /home/ev-br/.conda/envs/cupyx2/lib/python3.10/site-packages/cupy.egg-link (link to .)
cupy 13.0.0rc1 is already the active version in easy-install.pth

Installed /home/ev-br/repos/cupy
Processing dependencies for cupy==13.0.0rc1
Searching for fastrlock==0.8.2
Best match: fastrlock 0.8.2
Adding fastrlock 0.8.2 to easy-install.pth file

Using /home/ev-br/.conda/envs/cupyx2/lib/python3.10/site-packages
Searching for numpy==1.26.0
Best match: numpy 1.26.0
Adding numpy 1.26.0 to easy-install.pth file
Installing f2py script to /home/ev-br/.conda/envs/cupyx2/bin

Using /home/ev-br/.conda/envs/cupyx2/lib/python3.10/site-packages
Finished processing dependencies for cupy==13.0.0rc1
(cupyx2) ev-br@qgpu3:~/repos/cupy$ pytest tests/cupyx_tests/scipy_tests/interpolate_tests/test_rbfinterp.py -vx
====================================== test session starts =======================================
platform linux -- Python 3.10.0, pytest-8.0.0, pluggy-1.4.0 -- /home/ev-br/.conda/envs/cupyx2/bin/python3.10
cachedir: .pytest_cache
rootdir: /home/ev-br/repos/cupy
configfile: setup.cfg
collected 80 items

tests/cupyx_tests/scipy_tests/interpolate_tests/test_rbfinterp.py::test_conditionally_positive_definite[cubic] SKIPPED [  1%]
tests/cupyx_tests/scipy_tests/interpolate_tests/test_rbfinterp.py::test_conditionally_positive_definite[gaussian] SKIPPED [  2%]
tests/cupyx_tests/scipy_tests/interpolate_tests/test_rbfinterp.py::test_conditionally_positive_definite[inverse_multiquadric] SKIPPED [  3%]
tests/cupyx_tests/scipy_tests/interpolate_tests/test_rbfinterp.py::test_conditionally_positive_definite[inverse_quadratic] SKIPPED [  5%]
tests/cupyx_tests/scipy_tests/interpolate_tests/test_rbfinterp.py::test_conditionally_positive_definite[linear] SKIPPED [  6%]
tests/cupyx_tests/scipy_tests/interpolate_tests/test_rbfinterp.py::test_conditionally_positive_definite[multiquadric] SKIPPED [  7%]
tests/cupyx_tests/scipy_tests/interpolate_tests/test_rbfinterp.py::test_conditionally_positive_definite[quintic] SKIPPED [  8%]
tests/cupyx_tests/scipy_tests/interpolate_tests/test_rbfinterp.py::test_conditionally_positive_definite[thin_plate_spline] SKIPPED [ 10%]
tests/cupyx_tests/scipy_tests/interpolate_tests/test_rbfinterp.py::TestRBFInterpolatorNeighborsNone::test_scale_invariance_1d[cubic] FAILED [ 11%]

============================================ FAILURES ============================================
________________ TestRBFInterpolatorNeighborsNone.test_scale_invariance_1d[cubic] ________________

self = <cupyx_tests.scipy_tests.interpolate_tests.test_rbfinterp.TestRBFInterpolatorNeighborsNone object at 0x7f655dcb3880>
xp = <module 'cupy' from '/home/ev-br/repos/cupy/cupy/__init__.py'>
scp = <module 'cupyx.scipy' from '/home/ev-br/repos/cupy/cupyx/scipy/__init__.py'>
kernel = 'cubic'

    @testing.numpy_cupy_allclose(scipy_name='scp')
    @pytest.mark.parametrize('kernel', sorted(_SCALE_INVARIANT))
    def test_scale_invariance_1d(self, xp, scp, kernel):
        # Verify that the functions in _SCALE_INVARIANT are insensitive to the
        # shape parameter (when smoothing == 0) in 1d.
        seq = Halton(1, scramble=False, seed=_np.random.RandomState())
        x = xp.asarray(3*seq.random(50))
        y = _1d_test_function(x, xp)
        xitp = xp.asarray(3*seq.random(50))
>       yitp1 = self.build(scp, x, y, epsilon=1.0, kernel=kernel)(xitp)

tests/cupyx_tests/scipy_tests/interpolate_tests/test_rbfinterp.py:126:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/cupyx_tests/scipy_tests/interpolate_tests/test_rbfinterp.py:435: in build
    return scp.interpolate.RBFInterpolator(*args, **kwargs)
cupyx/scipy/interpolate/_rbfinterp.py:672: in __init__
    shift, scale, coeffs = _build_and_solve_system(
cupyx/scipy/interpolate/_rbfinterp.py:465: in _build_and_solve_system
    lhs, rhs, shift, scale = _build_system(
cupyx/scipy/interpolate/_rbfinterp.py:283: in _build_system
    mins = cp.min(y, axis=0)
cupy/_statistics/order.py:44: in amin
    return a.min(axis=axis, out=out, keepdims=keepdims)
cupy/_core/core.pyx:1019: in cupy._core.core._ndarray_base.min
    cpdef _ndarray_base min(self, axis=None, out=None, keepdims=False):
cupy/_core/core.pyx:1027: in cupy._core.core._ndarray_base.min
    return _statistics._ndarray_min(self, axis, out, None, keepdims)
cupy/_core/_routines_statistics.pyx:64: in cupy._core._routines_statistics._ndarray_min
    return _amin(self, axis=axis, out=out, dtype=dtype, keepdims=keepdims)
cupy/_core/_reduction.pyx:618: in cupy._core._reduction._SimpleReductionKernel.__call__
    return self._call(
cupy/_core/_reduction.pyx:370: in cupy._core._reduction._AbstractReductionKernel._call
    cub_success = _cub_reduction._try_to_call_cub_reduction(
cupy/_core/_cub_reduction.pyx:689: in cupy._core._cub_reduction._try_to_call_cub_reduction
    _launch_cub(
cupy/_core/_cub_reduction.pyx:540: in cupy._core._cub_reduction._launch_cub
    func = _SimpleCubReductionKernel_get_cached_function(
cupy/_util.pyx:64: in cupy._util.memoize.decorator.ret
    result = f(*args, **kwargs)
cupy/_core/_cub_reduction.pyx:240: in cupy._core._cub_reduction._SimpleCubReductionKernel_get_cached_function
    return _create_cub_reduction_function(
cupy/_core/_cub_reduction.pyx:223: in cupy._core._cub_reduction._create_cub_reduction_function
    module = compile_with_cache(
cupy/_core/core.pyx:2254: in cupy._core.core.compile_with_cache
    return cuda.compiler._compile_module_with_cache(
cupy/cuda/compiler.py:484: in _compile_module_with_cache
    return _compile_with_cache_cuda(
cupy/cuda/compiler.py:562: in _compile_with_cache_cuda
    ptx, mapping = compile_using_nvrtc(
cupy/cuda/compiler.py:319: in compile_using_nvrtc
    return _compile(source, options, cu_path,
cupy/cuda/compiler.py:290: in _compile
    options, headers, include_names = _jitify_prep(
cupy/cuda/compiler.py:233: in _jitify_prep
    jitify._init_module()
cupy/cuda/jitify.pyx:212: in cupy.cuda.jitify._init_module
    cpdef void _init_module() except*:
cupy/cuda/jitify.pyx:236: in cupy.cuda.jitify._init_module
    _init_cupy_headers()
cupy/cuda/jitify.pyx:209: in cupy.cuda.jitify._init_cupy_headers
    _init_cupy_headers_from_scratch()
cupy/cuda/jitify.pyx:192: in cupy.cuda.jitify._init_cupy_headers_from_scratch
    jitify(warmup_kernel, options)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

>   load_program(cuda_source, headers, nullptr, &include_paths,
E   AssertionError: Only cupy raises error
E
E   Traceback (most recent call last):
E     File "/home/ev-br/repos/cupy/cupy/testing/_loops.py", line 45, in _call_func
E       result = impl(*args, **kw)
E     File "/home/ev-br/repos/cupy/tests/cupyx_tests/scipy_tests/interpolate_tests/test_rbfinterp.py", line 126, in test_scale_invariance_1d
E       yitp1 = self.build(scp, x, y, epsilon=1.0, kernel=kernel)(xitp)
E     File "/home/ev-br/repos/cupy/tests/cupyx_tests/scipy_tests/interpolate_tests/test_rbfinterp.py", line 435, in build
E       return scp.interpolate.RBFInterpolator(*args, **kwargs)
E     File "/home/ev-br/repos/cupy/cupyx/scipy/interpolate/_rbfinterp.py", line 672, in __init__
E       shift, scale, coeffs = _build_and_solve_system(
E     File "/home/ev-br/repos/cupy/cupyx/scipy/interpolate/_rbfinterp.py", line 465, in _build_and_solve_system
E       lhs, rhs, shift, scale = _build_system(
E     File "/home/ev-br/repos/cupy/cupyx/scipy/interpolate/_rbfinterp.py", line 283, in _build_system
E       mins = cp.min(y, axis=0)
E     File "/home/ev-br/repos/cupy/cupy/_statistics/order.py", line 44, in amin
E       return a.min(axis=axis, out=out, keepdims=keepdims)
E     File "cupy/_core/core.pyx", line 1019, in cupy._core.core._ndarray_base.min
E       cpdef _ndarray_base min(self, axis=None, out=None, keepdims=False):
E     File "cupy/_core/core.pyx", line 1027, in cupy._core.core._ndarray_base.min
E       return _statistics._ndarray_min(self, axis, out, None, keepdims)
E     File "cupy/_core/_routines_statistics.pyx", line 64, in cupy._core._routines_statistics._ndarray_min
E       return _amin(self, axis=axis, out=out, dtype=dtype, keepdims=keepdims)
E     File "cupy/_core/_reduction.pyx", line 618, in cupy._core._reduction._SimpleReductionKernel.__call__
E       return self._call(
E     File "cupy/_core/_reduction.pyx", line 370, in cupy._core._reduction._AbstractReductionKernel._call
E       cub_success = _cub_reduction._try_to_call_cub_reduction(
E     File "cupy/_core/_cub_reduction.pyx", line 689, in cupy._core._cub_reduction._try_to_call_cub_reduction
E       _launch_cub(
E     File "cupy/_core/_cub_reduction.pyx", line 540, in cupy._core._cub_reduction._launch_cub
E       func = _SimpleCubReductionKernel_get_cached_function(
E     File "cupy/_util.pyx", line 64, in cupy._util.memoize.decorator.ret
E       result = f(*args, **kwargs)
E     File "cupy/_core/_cub_reduction.pyx", line 240, in cupy._core._cub_reduction._SimpleCubReductionKernel_get_cached_function
E       return _create_cub_reduction_function(
E     File "cupy/_core/_cub_reduction.pyx", line 223, in cupy._core._cub_reduction._create_cub_reduction_function
E       module = compile_with_cache(
E     File "cupy/_core/core.pyx", line 2254, in cupy._core.core.compile_with_cache
E       return cuda.compiler._compile_module_with_cache(
E     File "/home/ev-br/repos/cupy/cupy/cuda/compiler.py", line 484, in _compile_module_with_cache
E       return _compile_with_cache_cuda(
E     File "/home/ev-br/repos/cupy/cupy/cuda/compiler.py", line 562, in _compile_with_cache_cuda
E       ptx, mapping = compile_using_nvrtc(
E     File "/home/ev-br/repos/cupy/cupy/cuda/compiler.py", line 319, in compile_using_nvrtc
E       return _compile(source, options, cu_path,
E     File "/home/ev-br/repos/cupy/cupy/cuda/compiler.py", line 290, in _compile
E       options, headers, include_names = _jitify_prep(
E     File "/home/ev-br/repos/cupy/cupy/cuda/compiler.py", line 233, in _jitify_prep
E       jitify._init_module()
E     File "cupy/cuda/jitify.pyx", line 212, in cupy.cuda.jitify._init_module
E       cpdef void _init_module() except*:
E     File "cupy/cuda/jitify.pyx", line 236, in cupy.cuda.jitify._init_module
E       _init_cupy_headers()
E     File "cupy/cuda/jitify.pyx", line 209, in cupy.cuda.jitify._init_cupy_headers
E       _init_cupy_headers_from_scratch()
E     File "cupy/cuda/jitify.pyx", line 192, in cupy.cuda.jitify._init_cupy_headers_from_scratch
E       jitify(warmup_kernel, options)
E     File "cupy/cuda/jitify.pyx", line 267, in cupy.cuda.jitify.jitify
E       load_program(cuda_source, headers, nullptr, &include_paths,
E   RuntimeError: Runtime compilation failed

cupy/cuda/jitify.pyx:267: AssertionError
-------------------------------------- Captured stdout call --------------------------------------
---------------------------------------------------
--- JIT compile log for cupy_jitify_exercise ---
---------------------------------------------------
cub/util_cpp_dialect.cuh(143): warning #161-D: unrecognized #pragma
       CUB_COMPILER_DEPRECATION_SOFT(C++14, C++11);
       ^

Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"

cooperative_groups/details/helpers.h(448): error: identifier "cudaCGGetIntrinsicHandle" is undefined
              return (cudaCGGetIntrinsicHandle(cudaCGScopeMultiGrid));
                      ^

cooperative_groups/details/helpers.h(453): error: identifier "cudaCGSynchronize" is undefined
              cudaError_t err = cudaCGSynchronize(handle, 0);
                                ^

cooperative_groups/details/helpers.h(459): error: identifier "cudaCGGetSize" is undefined
              cudaCGGetSize(&numThreads, NULL, handle);
              ^

cooperative_groups/details/helpers.h(466): error: identifier "cudaCGGetRank" is undefined
              cudaCGGetRank(&threadRank, NULL, handle);
              ^

cooperative_groups/details/helpers.h(473): error: identifier "cudaCGGetRank" is undefined
              cudaCGGetRank(NULL, &gridRank, handle);
              ^

cooperative_groups/details/helpers.h(480): error: identifier "cudaCGGetSize" is undefined
              cudaCGGetSize(NULL, &numGrids, handle);
              ^

6 errors detected in the compilation of "cupy_jitify_exercise".

---------------------------------------------------
==================================== short test summary info =====================================
FAILED tests/cupyx_tests/scipy_tests/interpolate_tests/test_rbfinterp.py::TestRBFInterpolatorNeighborsNone::test_scale_invariance_1d[cubic] - AssertionError: Only cupy raises error
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
================================= 1 failed, 8 skipped in 37.05s ==================================
(cupyx2) ev-br@qgpu3:~/repos/cupy$

Hmmm...

How about the other (working) system? It seems you updated the submodule but nothing happened, so maybe it's the other system that had outdated code?
Could you set the env var CUPY_DUMP_CUDA_SOURCE_ON_ERROR=1 when you run the failing tests?

The other system also had submodules current, I ran it after cloning main. Running $ git submodule update --init --recursive did not output anything, and tests run. Here "run" means took more than an hour though:

$ pytest tests/cupyx_tests/scipy_tests/interpolate_tests/test_rgi.py -v
....
=========================== 98 passed in 4680.68s (1:18:00) ===========================

May the difference be that the commits are different: the passing one is on main, and the failing one has gh-8074 merged in?

Here's the full log:

$ CUPY_DUMP_CUDA_SOURCE_ON_ERROR=1 pytest tests/cupyx_tests/scipy_tests/interpolate_tests/test_rbfinterp.py -vx
====================================== test session starts =======================================
platform linux -- Python 3.10.0, pytest-8.0.0, pluggy-1.4.0 -- /home/ev-br/.conda/envs/cupyx2/bin/python3.10
cachedir: .pytest_cache
rootdir: /home/ev-br/repos/cupy
configfile: setup.cfg
collected 80 items

tests/cupyx_tests/scipy_tests/interpolate_tests/test_rbfinterp.py::test_conditionally_positive_definite[cubic] SKIPPED [  1%]
tests/cupyx_tests/scipy_tests/interpolate_tests/test_rbfinterp.py::test_conditionally_positive_definite[gaussian] SKIPPED [  2%]
tests/cupyx_tests/scipy_tests/interpolate_tests/test_rbfinterp.py::test_conditionally_positive_definite[inverse_multiquadric] SKIPPED [  3%]
tests/cupyx_tests/scipy_tests/interpolate_tests/test_rbfinterp.py::test_conditionally_positive_definite[inverse_quadratic] SKIPPED [  5%]
tests/cupyx_tests/scipy_tests/interpolate_tests/test_rbfinterp.py::test_conditionally_positive_definite[linear] SKIPPED [  6%]
tests/cupyx_tests/scipy_tests/interpolate_tests/test_rbfinterp.py::test_conditionally_positive_definite[multiquadric] SKIPPED [  7%]
tests/cupyx_tests/scipy_tests/interpolate_tests/test_rbfinterp.py::test_conditionally_positive_definite[quintic] SKIPPED [  8%]
tests/cupyx_tests/scipy_tests/interpolate_tests/test_rbfinterp.py::test_conditionally_positive_definite[thin_plate_spline] SKIPPED [ 10%]
tests/cupyx_tests/scipy_tests/interpolate_tests/test_rbfinterp.py::TestRBFInterpolatorNeighborsNone::test_scale_invariance_1d[cubic] FAILED [ 11%]

============================================ FAILURES ============================================
________________ TestRBFInterpolatorNeighborsNone.test_scale_invariance_1d[cubic] ________________

self = <cupyx_tests.scipy_tests.interpolate_tests.test_rbfinterp.TestRBFInterpolatorNeighborsNone object at 0x7fcc6c8034f0>
xp = <module 'cupy' from '/home/ev-br/repos/cupy/cupy/__init__.py'>
scp = <module 'cupyx.scipy' from '/home/ev-br/repos/cupy/cupyx/scipy/__init__.py'>
kernel = 'cubic'

    @testing.numpy_cupy_allclose(scipy_name='scp')
    @pytest.mark.parametrize('kernel', sorted(_SCALE_INVARIANT))
    def test_scale_invariance_1d(self, xp, scp, kernel):
        # Verify that the functions in _SCALE_INVARIANT are insensitive to the
        # shape parameter (when smoothing == 0) in 1d.
        seq = Halton(1, scramble=False, seed=_np.random.RandomState())
        x = xp.asarray(3*seq.random(50))
        y = _1d_test_function(x, xp)
        xitp = xp.asarray(3*seq.random(50))
>       yitp1 = self.build(scp, x, y, epsilon=1.0, kernel=kernel)(xitp)

tests/cupyx_tests/scipy_tests/interpolate_tests/test_rbfinterp.py:126:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/cupyx_tests/scipy_tests/interpolate_tests/test_rbfinterp.py:435: in build
    return scp.interpolate.RBFInterpolator(*args, **kwargs)
cupyx/scipy/interpolate/_rbfinterp.py:672: in __init__
    shift, scale, coeffs = _build_and_solve_system(
cupyx/scipy/interpolate/_rbfinterp.py:465: in _build_and_solve_system
    lhs, rhs, shift, scale = _build_system(
cupyx/scipy/interpolate/_rbfinterp.py:283: in _build_system
    mins = cp.min(y, axis=0)
cupy/_statistics/order.py:44: in amin
    return a.min(axis=axis, out=out, keepdims=keepdims)
cupy/_core/core.pyx:1019: in cupy._core.core._ndarray_base.min
    cpdef _ndarray_base min(self, axis=None, out=None, keepdims=False):
cupy/_core/core.pyx:1027: in cupy._core.core._ndarray_base.min
    return _statistics._ndarray_min(self, axis, out, None, keepdims)
cupy/_core/_routines_statistics.pyx:64: in cupy._core._routines_statistics._ndarray_min
    return _amin(self, axis=axis, out=out, dtype=dtype, keepdims=keepdims)
cupy/_core/_reduction.pyx:618: in cupy._core._reduction._SimpleReductionKernel.__call__
    return self._call(
cupy/_core/_reduction.pyx:370: in cupy._core._reduction._AbstractReductionKernel._call
    cub_success = _cub_reduction._try_to_call_cub_reduction(
cupy/_core/_cub_reduction.pyx:689: in cupy._core._cub_reduction._try_to_call_cub_reduction
    _launch_cub(
cupy/_core/_cub_reduction.pyx:540: in cupy._core._cub_reduction._launch_cub
    func = _SimpleCubReductionKernel_get_cached_function(
cupy/_util.pyx:64: in cupy._util.memoize.decorator.ret
    result = f(*args, **kwargs)
cupy/_core/_cub_reduction.pyx:240: in cupy._core._cub_reduction._SimpleCubReductionKernel_get_cached_function
    return _create_cub_reduction_function(
cupy/_core/_cub_reduction.pyx:223: in cupy._core._cub_reduction._create_cub_reduction_function
    module = compile_with_cache(
cupy/_core/core.pyx:2254: in cupy._core.core.compile_with_cache
    return cuda.compiler._compile_module_with_cache(
cupy/cuda/compiler.py:484: in _compile_module_with_cache
    return _compile_with_cache_cuda(
cupy/cuda/compiler.py:562: in _compile_with_cache_cuda
    ptx, mapping = compile_using_nvrtc(
cupy/cuda/compiler.py:319: in compile_using_nvrtc
    return _compile(source, options, cu_path,
cupy/cuda/compiler.py:290: in _compile
    options, headers, include_names = _jitify_prep(
cupy/cuda/compiler.py:233: in _jitify_prep
    jitify._init_module()
cupy/cuda/jitify.pyx:212: in cupy.cuda.jitify._init_module
    cpdef void _init_module() except*:
cupy/cuda/jitify.pyx:236: in cupy.cuda.jitify._init_module
    _init_cupy_headers()
cupy/cuda/jitify.pyx:209: in cupy.cuda.jitify._init_cupy_headers
    _init_cupy_headers_from_scratch()
cupy/cuda/jitify.pyx:192: in cupy.cuda.jitify._init_cupy_headers_from_scratch
    jitify(warmup_kernel, options)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

>   load_program(cuda_source, headers, nullptr, &include_paths,
E   AssertionError: Only cupy raises error
E
E   Traceback (most recent call last):
E     File "/home/ev-br/repos/cupy/cupy/testing/_loops.py", line 45, in _call_func
E       result = impl(*args, **kw)
E     File "/home/ev-br/repos/cupy/tests/cupyx_tests/scipy_tests/interpolate_tests/test_rbfinterp.py", line 126, in test_scale_invariance_1d
E       yitp1 = self.build(scp, x, y, epsilon=1.0, kernel=kernel)(xitp)
E     File "/home/ev-br/repos/cupy/tests/cupyx_tests/scipy_tests/interpolate_tests/test_rbfinterp.py", line 435, in build
E       return scp.interpolate.RBFInterpolator(*args, **kwargs)
E     File "/home/ev-br/repos/cupy/cupyx/scipy/interpolate/_rbfinterp.py", line 672, in __init__
E       shift, scale, coeffs = _build_and_solve_system(
E     File "/home/ev-br/repos/cupy/cupyx/scipy/interpolate/_rbfinterp.py", line 465, in _build_and_solve_system
E       lhs, rhs, shift, scale = _build_system(
E     File "/home/ev-br/repos/cupy/cupyx/scipy/interpolate/_rbfinterp.py", line 283, in _build_system
E       mins = cp.min(y, axis=0)
E     File "/home/ev-br/repos/cupy/cupy/_statistics/order.py", line 44, in amin
E       return a.min(axis=axis, out=out, keepdims=keepdims)
E     File "cupy/_core/core.pyx", line 1019, in cupy._core.core._ndarray_base.min
E       cpdef _ndarray_base min(self, axis=None, out=None, keepdims=False):
E     File "cupy/_core/core.pyx", line 1027, in cupy._core.core._ndarray_base.min
E       return _statistics._ndarray_min(self, axis, out, None, keepdims)
E     File "cupy/_core/_routines_statistics.pyx", line 64, in cupy._core._routines_statistics._ndarray_min
E       return _amin(self, axis=axis, out=out, dtype=dtype, keepdims=keepdims)
E     File "cupy/_core/_reduction.pyx", line 618, in cupy._core._reduction._SimpleReductionKernel.__call__
E       return self._call(
E     File "cupy/_core/_reduction.pyx", line 370, in cupy._core._reduction._AbstractReductionKernel._call
E       cub_success = _cub_reduction._try_to_call_cub_reduction(
E     File "cupy/_core/_cub_reduction.pyx", line 689, in cupy._core._cub_reduction._try_to_call_cub_reduction
E       _launch_cub(
E     File "cupy/_core/_cub_reduction.pyx", line 540, in cupy._core._cub_reduction._launch_cub
E       func = _SimpleCubReductionKernel_get_cached_function(
E     File "cupy/_util.pyx", line 64, in cupy._util.memoize.decorator.ret
E       result = f(*args, **kwargs)
E     File "cupy/_core/_cub_reduction.pyx", line 240, in cupy._core._cub_reduction._SimpleCubReductionKernel_get_cached_function
E       return _create_cub_reduction_function(
E     File "cupy/_core/_cub_reduction.pyx", line 223, in cupy._core._cub_reduction._create_cub_reduction_function
E       module = compile_with_cache(
E     File "cupy/_core/core.pyx", line 2254, in cupy._core.core.compile_with_cache
E       return cuda.compiler._compile_module_with_cache(
E     File "/home/ev-br/repos/cupy/cupy/cuda/compiler.py", line 484, in _compile_module_with_cache
E       return _compile_with_cache_cuda(
E     File "/home/ev-br/repos/cupy/cupy/cuda/compiler.py", line 562, in _compile_with_cache_cuda
E       ptx, mapping = compile_using_nvrtc(
E     File "/home/ev-br/repos/cupy/cupy/cuda/compiler.py", line 319, in compile_using_nvrtc
E       return _compile(source, options, cu_path,
E     File "/home/ev-br/repos/cupy/cupy/cuda/compiler.py", line 290, in _compile
E       options, headers, include_names = _jitify_prep(
E     File "/home/ev-br/repos/cupy/cupy/cuda/compiler.py", line 233, in _jitify_prep
E       jitify._init_module()
E     File "cupy/cuda/jitify.pyx", line 212, in cupy.cuda.jitify._init_module
E       cpdef void _init_module() except*:
E     File "cupy/cuda/jitify.pyx", line 236, in cupy.cuda.jitify._init_module
E       _init_cupy_headers()
E     File "cupy/cuda/jitify.pyx", line 209, in cupy.cuda.jitify._init_cupy_headers
E       _init_cupy_headers_from_scratch()
E     File "cupy/cuda/jitify.pyx", line 192, in cupy.cuda.jitify._init_cupy_headers_from_scratch
E       jitify(warmup_kernel, options)
E     File "cupy/cuda/jitify.pyx", line 267, in cupy.cuda.jitify.jitify
E       load_program(cuda_source, headers, nullptr, &include_paths,
E   RuntimeError: Runtime compilation failed

cupy/cuda/jitify.pyx:267: AssertionError
-------------------------------------- Captured stdout call --------------------------------------
---------------------------------------------------
--- JIT compile log for cupy_jitify_exercise ---
---------------------------------------------------
cub/util_cpp_dialect.cuh(143): warning #161-D: unrecognized #pragma
       CUB_COMPILER_DEPRECATION_SOFT(C++14, C++11);
       ^

Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"

cooperative_groups/details/helpers.h(448): error: identifier "cudaCGGetIntrinsicHandle" is undefined
              return (cudaCGGetIntrinsicHandle(cudaCGScopeMultiGrid));
                      ^

cooperative_groups/details/helpers.h(453): error: identifier "cudaCGSynchronize" is undefined
              cudaError_t err = cudaCGSynchronize(handle, 0);
                                ^

cooperative_groups/details/helpers.h(459): error: identifier "cudaCGGetSize" is undefined
              cudaCGGetSize(&numThreads, NULL, handle);
              ^

cooperative_groups/details/helpers.h(466): error: identifier "cudaCGGetRank" is undefined
              cudaCGGetRank(&threadRank, NULL, handle);
              ^

cooperative_groups/details/helpers.h(473): error: identifier "cudaCGGetRank" is undefined
              cudaCGGetRank(NULL, &gridRank, handle);
              ^

cooperative_groups/details/helpers.h(480): error: identifier "cudaCGGetSize" is undefined
              cudaCGGetSize(NULL, &numGrids, handle);
              ^

6 errors detected in the compilation of "cupy_jitify_exercise".

---------------------------------------------------
==================================== short test summary info =====================================
FAILED tests/cupyx_tests/scipy_tests/interpolate_tests/test_rbfinterp.py::TestRBFInterpolatorNeighborsNone::test_scale_invariance_1d[cubic] - AssertionError: Only cupy raises error
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
================================= 1 failed, 8 skipped in 36.66s ==================================

Hi @ev-br I still can't reproduce the error, but I do notice the reported Jitify build version is incorrect (#8185). Could you do this and confirm the Jitify version in use is the same on both machines?
cd third_party/jitify/
git rev-parse --short HEAD

On the "failing" one:
In [1]: import cupy

In [2]: cupy.show_config()
OS                           : Linux-5.15.0-76-generic-x86_64-with-glibc2.35
Python Version               : 3.10.0
CuPy Version                 : 13.0.0rc1
CuPy Platform                : NVIDIA CUDA
NumPy Version                : 1.26.0
SciPy Version                : 1.11.2
Cython Build Version         : 0.29.37
Cython Runtime Version       : None
CUDA Root                    : /usr/local/cuda
nvcc PATH                    : /usr/local/cuda/bin/nvcc
CUDA Build Version           : 12010
CUDA Driver Version          : 12010
CUDA Runtime Version         : 12010 (linked to CuPy) / 12000 (locally installed)
cuBLAS Version               : (available)
cuFFT Version                : 11002
cuRAND Version               : 10302
cuSOLVER Version             : (11, 4, 4)
cuSPARSE Version             : (available)
NVRTC Version                : (12, 0)
Thrust Version               : 200200
CUB Build Version            : 200200
Jitify Build Version         : 7e30a9581
cuDNN Build Version          : 8800
cuDNN Version                : 8800
NCCL Build Version           : 21904
NCCL Runtime Version         : 21904
cuTENSOR Version             : 20000
cuSPARSELt Build Version     : 502
Device 0 Name                : NVIDIA GeForce RTX 2060
Device 0 Compute Capability  : 75
Device 0 PCI Bus ID          : 0000:01:00.0
Device 1 Name                : NVIDIA GeForce RTX 2060
Device 1 Compute Capability  : 75
Device 1 PCI Bus ID          : 0000:21:00.0

In [3]: exit
$ cd third_party/jitify/
$ git rev-parse --short HEAD
1a0ca0e

and the full build log is under the fold

```
$ python setup.py develop
Generating cache key from header files...
Cache key (1531 files matching /home/ev-br/repos/cupy/cupy/_core/include/**): f2bac1ec28113821cd62aa8ee45664afd3bdee6b
Clearing directory: /home/ev-br/repos/cupy/cupy/.data
-------- Configuring Module: cuda --------
-------- Configuring Module: cusolver --------
-------- Configuring Module: cudnn --------
/tmp/tmpevso4n2n/a.cpp:1:10: fatal error: cudnn.h: No such file or directory
1 | #include <cudnn.h>
|          ^~~~~~~~~
compilation terminated.
command '/usr/bin/gcc' failed with exit code 1
-------- Configuring Module: nccl --------
/tmp/tmplrwp064p/a.cpp:1:10: fatal error: nccl.h: No such file or directory
1 | #include <nccl.h>
|          ^~~~~~~~
compilation terminated.
command '/usr/bin/gcc' failed with exit code 1
-------- Configuring Module: nvtx --------
-------- Configuring Module: cutensor --------
/tmp/tmpc6gl1ayd/a.cpp:1:10: fatal error: cutensor.h: No such file or directory
1 | #include <cutensor.h>
|          ^~~~~~~~~~~~
compilation terminated.
command '/usr/bin/gcc' failed with exit code 1
-------- Configuring Module: cub --------
-------- Configuring Module: jitify --------
-------- Configuring Module: random --------
-------- Configuring Module: thrust --------
-------- Configuring Module: cusparselt --------
-------- Configuring Module: dlpack --------

CuPy Configuration Summary                               *

Build Environment:
Include directories: ['/home/ev-br/repos/cupy/cupy/_core/include/cupy/_cccl/libcudacxx', '/home/ev-br/repos/cupy/cupy/_core/include/cupy/_cccl/thrust', '/home/ev-br/repos/cupy/cupy/_core/include/cupy/_cccl/cub', '/home/ev-br/repos/cupy/cupy/_core/include', '/usr/local/cuda/include']
Library directories: ['/usr/local/cuda/lib64']
nvcc command       : ['/usr/local/cuda/bin/nvcc']
hipcc command      : (not found)
Environment Variables:
CFLAGS          : (none)
LDFLAGS         : (none)
LIBRARY_PATH    : (none)
CUDA_PATH       : (none)
NVCC            : (none)
HIPCC           : (none)
ROCM_HOME       : (none)
Modules:
cuda      : Yes (version 12010)
cusolver  : Yes
cudnn     : No
-> Include files not found: ['cudnn.h']
-> Check your CFLAGS environment variable.
nccl      : No
-> Include files not found: ['nccl.h']
-> Check your CFLAGS environment variable.
nvtx      : Yes
cutensor  : No
-> Include files not found: ['cutensor.h']
-> Check your CFLAGS environment variable.
cub       : Yes (version 200200)
jitify    : Yes (version a898d014a)
random    : Yes
thrust    : Yes (version 200200)
cusparselt: Yes (version 502)
dlpack    : Yes
WARNING: Some modules could not be configured.
CuPy will be installed without these modules.
Please refer to the Installation Guide for details:
https://docs.cupy.dev/en/stable/install.html

/home/ev-br/.conda/envs/cupyx/lib/python3.10/site-packages/setuptools/init.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
    ********************************************************************************
    Requirements should be satisfied by a PEP 517 installer.
    If you are using pip, you can try `pip install --use-pep517`.
    ********************************************************************************

!!
dist.fetch_build_eggs(dist.setup_requires)
running develop
/home/ev-br/.conda/envs/cupyx/lib/python3.10/site-packages/setuptools/command/develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!
    ********************************************************************************
    Please avoid running ``setup.py`` and ``easy_install``.
    Instead, use pypa/build, pypa/installer or other
    standards-based tools.

    See https://github.com/pypa/setuptools/issues/917 for details.
    ********************************************************************************

!!
easy_install.initialize_options(self)
/home/ev-br/.conda/envs/cupyx/lib/python3.10/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
    ********************************************************************************
    Please avoid running ``setup.py`` directly.
    Instead, use pypa/build, pypa/installer or other
    standards-based tools.

    See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
    ********************************************************************************

!!
self.initialize_options()
running egg_info
writing cupy.egg-info/PKG-INFO
writing dependency_links to cupy.egg-info/dependency_links.txt
writing requirements to cupy.egg-info/requires.txt
writing top-level names to cupy.egg-info/top_level.txt
reading manifest file 'cupy.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '.pxi' under directory 'cupy'
warning: no files found matching '.hpp' under directory 'cupy_backends'
warning: no previously-included files matching '.cpp' found under directory 'cupy'
warning: no previously-included files matching '.cpp' found under directory 'cupy_backends'
adding license file 'docs/source/license.rst'
writing manifest file 'cupy.egg-info/SOURCES.txt'
running build_ext
Cythonizing...

Oh, so git clean -xdf is not enough to get a really clean rebuild. Wow.
$ rm ~/.cupy/jitify_cache/jitify.pickle
$ rm ~/.cupy/kernel_cache/*cubin
$ git clean -xdf

AFAICT, there is no change. The full build log is under the fold.

```
$ python setup.py develop
Generating cache key from header files...
Cache key (1545 files matching /home/ev-br/repos/cupy/cupy/_core/include/**): c1dd808300cf25e56a32798995fa333ef27c5446
-------- Configuring Module: cuda --------
-------- Configuring Module: cusolver --------
-------- Configuring Module: cudnn --------
/tmp/tmpggbltjii/a.cpp:1:10: fatal error: cudnn.h: No such file or directory
1 | #include <cudnn.h>
|          ^~~~~~~~~
compilation terminated.
command '/usr/bin/gcc' failed with exit code 1
-------- Configuring Module: nccl --------
/tmp/tmpnretiupd/a.cpp:1:10: fatal error: nccl.h: No such file or directory
1 | #include <nccl.h>
|          ^~~~~~~~
compilation terminated.
command '/usr/bin/gcc' failed with exit code 1
-------- Configuring Module: nvtx --------
-------- Configuring Module: cutensor --------
/tmp/tmpfaj1yo4r/a.cpp:1:10: fatal error: cutensor.h: No such file or directory
1 | #include <cutensor.h>
|          ^~~~~~~~~~~~
compilation terminated.
command '/usr/bin/gcc' failed with exit code 1
-------- Configuring Module: cub --------
-------- Configuring Module: jitify --------
-------- Configuring Module: random --------
-------- Configuring Module: thrust --------
-------- Configuring Module: cusparselt --------
-------- Configuring Module: dlpack --------

CuPy Configuration Summary                               *

Build Environment:
Include directories: ['/home/ev-br/repos/cupy/cupy/_core/include/cupy/_cccl/libcudacxx', '/home/ev-br/repos/cupy/cupy/_core/include/cupy/_cccl/thrust', '/home/ev-br/repos/cupy/cupy/_core/include/cupy/_cccl/cub', '/home/ev-br/repos/cupy/cupy/_core/include', '/usr/local/cuda/include']
Library directories: ['/usr/local/cuda/lib64']
nvcc command       : ['/usr/local/cuda/bin/nvcc']
hipcc command      : (not found)
Environment Variables:
CFLAGS          : (none)
LDFLAGS         : (none)
LIBRARY_PATH    : (none)
CUDA_PATH       : (none)
NVCC            : (none)
HIPCC           : (none)
ROCM_HOME       : (none)
Modules:
cuda      : Yes (version 12010)
cusolver  : Yes
cudnn     : No
-> Include files not found: ['cudnn.h']
-> Check your CFLAGS environment variable.
nccl      : No
-> Include files not found: ['nccl.h']
-> Check your CFLAGS environment variable.
nvtx      : Yes
cutensor  : No
-> Include files not found: ['cutensor.h']
-> Check your CFLAGS environment variable.
cub       : Yes (version 200200)
jitify    : Yes (version 34f8edb19)
random    : Yes
thrust    : Yes (version 200200)
cusparselt: Yes (version 502)
dlpack    : Yes
WARNING: Some modules could not be configured.
CuPy will be installed without these modules.
Please refer to the Installation Guide for details:
https://docs.cupy.dev/en/stable/install.html

/home/ev-br/.conda/envs/cupyx/lib/python3.10/site-packages/setuptools/init.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
    ********************************************************************************
    Requirements should be satisfied by a PEP 517 installer.
    If you are using pip, you can try `pip install --use-pep517`.
    ********************************************************************************

!!
dist.fetch_build_eggs(dist.setup_requires)
running develop
/home/ev-br/.conda/envs/cupyx/lib/python3.10/site-packages/setuptools/command/develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!
    ********************************************************************************
    Please avoid running ``setup.py`` and ``easy_install``.
    Instead, use pypa/build, pypa/installer or other
    standards-based tools.

    See https://github.com/pypa/setuptools/issues/917 for details.
    ********************************************************************************

!!
easy_install.initialize_options(self)
/home/ev-br/.conda/envs/cupyx/lib/python3.10/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
    ********************************************************************************
    Please avoid running ``setup.py`` directly.
    Instead, use pypa/build, pypa/installer or other
    standards-based tools.

    See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
    ********************************************************************************

!!
self.initialize_options()
running egg_info
creating cupy.egg-info
writing cupy.egg-info/PKG-INFO
writing dependency_links to cupy.egg-info/dependency_links.txt
writing requirements to cupy.egg-info/requires.txt
writing top-level names to cupy.egg-info/top_level.txt
writing manifest file 'cupy.egg-info/SOURCES.txt'
reading manifest file 'cupy.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '.pxi' under directory 'cupy'
warning: no files found matching '.hpp' under directory 'cupy_backends'
warning: no previously-included files matching '.cpp' found under directory 'cupy'
warning: no previously-included files matching '.cpp' found under directory 'cupy_backends'
adding license file 'docs/source/license.rst'
writing manifest file 'cupy.egg-info/SOURCES.txt'
running build_ext
Cythonizing...
Compile-time constants: {
"CUPY_USE_CUDA_PYTHON": false,
"CUPY_CUFFT_STATIC": false,
"CUPY_CYTHON_VERSION": "0.29.37",
"CUPY_CUDA_VERSION": 12010,
"CUPY_HIP_VERSION": 0
}
Compiling cupy_backends/cuda/api/driver.pyx because it changed.
Compiling cupy_backends/cuda/api/_driver_enum.pyx because it changed.
Compiling cupy_backends/cuda/api/runtime.pyx because it changed.
Compiling cupy_backends/cuda/api/_runtime_enum.pyx because it changed.
Compiling cupy_backends/cuda/libs/cublas.pyx because it changed.
Compiling cupy_backends/cuda/libs/curand.pyx because it changed.
Compiling cupy_backends/cuda/libs/cusparse.pyx because it changed.
Compiling cupy_backends/cuda/libs/nvrtc.pyx because it changed.
Compiling cupy_backends/cuda/stream.pyx because it changed.
Compiling cupy_backends/cuda/_softlink.pyx because it changed.
Compiling cupy/_core/_accelerator.pyx because it changed.
Compiling cupy/_core/_carray.pyx because it changed.
Compiling cupy/_core/_cub_reduction.pyx because it changed.
Compiling cupy/_core/_dtype.pyx because it changed.
Compiling cupy/_core/_fusion_kernel.pyx because it changed.
Compiling cupy/_core/_fusion_thread_local.pyx because it changed.
Compiling cupy/_core/_fusion_trace.pyx because it changed.
Compiling cupy/_core/_fusion_variable.pyx because it changed.
Compiling cupy/_core/_kernel.pyx because it changed.
Compiling cupy/_core/_memory_range.pyx because it changed.
Compiling cupy/_core/_optimize_config.pyx because it changed.
Compiling cupy/_core/_reduction.pyx because it changed.
Compiling cupy/_core/_routines_binary.pyx because it changed.
Compiling cupy/_core/_routines_indexing.pyx because it changed.
Compiling cupy/_core/_routines_linalg.pyx because it changed.
Compiling cupy/_core/_routines_logic.pyx because it changed.
Compiling cupy/_core/_routines_manipulation.pyx because it changed.
Compiling cupy/_core/_routines_math.pyx because it changed.
Compiling cupy/_core/_routines_sorting.pyx because it changed.
Compiling cupy/_core/_routines_statistics.pyx because it changed.
Compiling cupy/_core/_scalar.pyx because it changed.
Compiling cupy/_core/core.pyx because it changed.
Compiling cupy/_core/flags.pyx because it changed.
Compiling cupy/_core/internal.pyx because it changed.
Compiling cupy/_core/fusion.pyx because it changed.
Compiling cupy/_core/new_fusion.pyx because it changed.
Compiling cupy/_core/raw.pyx because it changed.
Compiling cupy/cuda/common.pyx because it changed.
Compiling cupy/cuda/cufft.pyx because it changed.
Compiling cupy/cuda/device.pyx because it changed.
Compiling cupy/cuda/memory.pyx because it changed.
Compiling cupy/cuda/memory_hook.pyx because it changed.
Compiling cupy/cuda/pinned_memory.pyx because it changed.
Compiling cupy/cuda/function.pyx because it changed.
Compiling cupy/cuda/stream.pyx because it changed.
Compiling cupy/cuda/graph.pyx because it changed.
Compiling cupy/cuda/texture.pyx because it changed.
Compiling cupy/fft/_cache.pyx because it changed.
Compiling cupy/fft/_callback.pyx because it changed.
Compiling cupy/lib/_polynomial.pyx because it changed.
Compiling cupy/_util.pyx because it changed.
Compiling cupy_backends/cuda/libs/cusolver.pyx because it changed.
Compiling cupyx/cusolver.pyx because it changed.
Compiling cupy_backends/cuda/libs/nvtx.pyx because it changed.
Compiling cupy/cuda/cub.pyx because it changed.
Compiling cupy/cuda/jitify.pyx because it changed.
Compiling cupy/random/_bit_generator.pyx because it changed.
Compiling cupy/random/_generator_api.pyx because it changed.
Compiling cupy/cuda/thrust.pyx because it changed.
Compiling cupy_backends/cuda/libs/cusparselt.pyx because it changed.

The build still fails, yes. This is on the machine where the build was failing and is failing.

I am sorry, but now it's a build time failure, not a test failure? I am confused...

Could you please not include #8074 and retry?  Let's focus on the original test failure.

OK, it was me confusing things, sorry about that!
Let me try untangling it:

the build failure is on current main. Prob because of cusparseLt 0.5.2.
checking out gh-8074 and rebasing it on main: tests pass, the OP error not seen.

So the immediate problem seems to have solved itself. Prob cleaning up the cupy cache did work? Thank you @leofang for the pointer!
The other machine, where the OP error was reported on, is currently not available, should be back up in a day or two hopefully. It will be a relatively clean reinstall, too.
So I guess the issue can be closed, I can submit a new one if the problem appears again on the new machine. Unless you want me to keep this one open until I can confirm the behavior on the new machine.

Yes, let's keep it open until we confirm the test failure is gone on both machines, thanks!

@ev-br any luck? :)

Sadly, no. The machine from the OP is gone and is not coming back. On a new machine I'm having a build problem instead.

Let's close then, since it's not reproducible.
What's the build issue?

What's the build issue?

A fresh machine, cython 3.0.8. Downgrading cython to <3.0 only makes it fail later in the compile stage.
$ python setup.py develop
Generating cache key from header files...
Cache key (1545 files matching /home/ev-br/repos/cupy/cupy/_core/include/**): c1dd808300cf25e56a32798995fa333ef27c5446

-------- Configuring Module: cuda --------

-------- Configuring Module: cusolver --------

-------- Configuring Module: cudnn --------

-------- Configuring Module: nccl --------
/tmp/tmpigpp5ba2/a.cpp:1:10: fatal error: nccl.h: No such file or directory
    1 | #include <nccl.h>
      |          ^~~~~~~~
compilation terminated.
command '/usr/bin/gcc' failed with exit code 1

-------- Configuring Module: nvtx --------

-------- Configuring Module: cutensor --------
/tmp/tmpzmpd3fxy/a.cpp:1:10: fatal error: cutensor.h: No such file or directory
    1 | #include <cutensor.h>
      |          ^~~~~~~~~~~~
compilation terminated.
command '/usr/bin/gcc' failed with exit code 1

-------- Configuring Module: cub --------

-------- Configuring Module: jitify --------

-------- Configuring Module: random --------

-------- Configuring Module: thrust --------

-------- Configuring Module: cusparselt --------
/tmp/tmpv5o2zkph/a.cpp:1:10: fatal error: cusparseLt.h: No such file or directory
    1 | #include <cusparseLt.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
command '/usr/bin/gcc' failed with exit code 1

-------- Configuring Module: dlpack --------

************************************************************
* CuPy Configuration Summary                               *
************************************************************

Build Environment:
  Include directories: ['/home/ev-br/repos/cupy/cupy/_core/include/cupy/_cccl/libcudacxx', '/home/ev-br/repos/cupy/cupy/_core/include/cupy/_cccl/thrust', '/home/ev-br/repos/cupy/cupy/_core/include/cupy/_cccl/cub', '/home/ev-br/repos/cupy/cupy/_core/include', '/usr/local/cuda/include']
  Library directories: ['/usr/local/cuda/lib64']
  nvcc command       : ['/usr/local/cuda/bin/nvcc']
  hipcc command      : (not found)

Environment Variables:
  CFLAGS          : (none)
  LDFLAGS         : (none)
  LIBRARY_PATH    : (none)
  CUDA_PATH       : (none)
  NVCC            : (none)
  HIPCC           : (none)
  ROCM_HOME       : (none)

Modules:
  cuda      : Yes (version 12030)
  cusolver  : Yes
  cudnn     : Yes (version 90000)
  nccl      : No
    -> Include files not found: ['nccl.h']
    -> Check your CFLAGS environment variable.
  nvtx      : Yes
  cutensor  : No
    -> Include files not found: ['cutensor.h']
    -> Check your CFLAGS environment variable.
  cub       : Yes (version 200200)
  jitify    : Yes (version dcd325a8b)
  random    : Yes
  thrust    : Yes (version 200200)
  cusparselt: No
    -> Include files not found: ['cusparseLt.h']
    -> Check your CFLAGS environment variable.
  dlpack    : Yes

WARNING: Some modules could not be configured.
CuPy will be installed without these modules.
Please refer to the Installation Guide for details:
https://docs.cupy.dev/en/stable/install.html

************************************************************

/home/ev-br/miniforge3/envs/cupyx/lib/python3.10/site-packages/setuptools/__init__.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

        ********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.
        ********************************************************************************

!!
  dist.fetch_build_eggs(dist.setup_requires)
/home/ev-br/miniforge3/envs/cupyx/lib/python3.10/site-packages/setuptools/installer.py:44: UserWarning: Module Cython was already imported from /home/ev-br/miniforge3/envs/cupyx/lib/python3.10/site-packages/Cython/__init__.py, but /home/ev-br/repos/cupy/.eggs/Cython-0.29.37-py3.10-linux-x86_64.egg is being added to sys.path
  pkg_resources.working_set.add(dist, replace=True)
running develop
/home/ev-br/miniforge3/envs/cupyx/lib/python3.10/site-packages/setuptools/command/develop.py:39: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` and ``easy_install``.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://github.com/pypa/setuptools/issues/917 for details.
        ********************************************************************************

!!
  easy_install.initialize_options(self)
/home/ev-br/miniforge3/envs/cupyx/lib/python3.10/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
  self.initialize_options()
running egg_info
creating cupy.egg-info
writing cupy.egg-info/PKG-INFO
writing dependency_links to cupy.egg-info/dependency_links.txt
writing requirements to cupy.egg-info/requires.txt
writing top-level names to cupy.egg-info/top_level.txt
writing manifest file 'cupy.egg-info/SOURCES.txt'
reading manifest file 'cupy.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.pxi' under directory 'cupy'
warning: no files found matching '*.hpp' under directory 'cupy_backends'
warning: no previously-included files matching '*.cpp' found under directory 'cupy'
warning: no previously-included files matching '*.cpp' found under directory 'cupy_backends'
adding license file 'docs/source/license.rst'
writing manifest file 'cupy.egg-info/SOURCES.txt'
running build_ext
Cythonizing...
Compile-time constants: {
    "CUPY_USE_CUDA_PYTHON": false,
    "CUPY_CUFFT_STATIC": false,
    "CUPY_CYTHON_VERSION": "3.0.8",
    "CUPY_CUDA_VERSION": 12030,
    "CUPY_HIP_VERSION": 0
}
Compiling cupy_backends/cuda/api/driver.pyx because it changed.
Compiling cupy_backends/cuda/api/_driver_enum.pyx because it changed.
Compiling cupy_backends/cuda/api/runtime.pyx because it changed.
Compiling cupy_backends/cuda/api/_runtime_enum.pyx because it changed.
Compiling cupy_backends/cuda/libs/cublas.pyx because it changed.
Compiling cupy_backends/cuda/libs/curand.pyx because it changed.
Compiling cupy_backends/cuda/libs/cusparse.pyx because it changed.
Compiling cupy_backends/cuda/libs/nvrtc.pyx because it changed.
Compiling cupy_backends/cuda/stream.pyx because it changed.
Compiling cupy_backends/cuda/_softlink.pyx because it changed.
Compiling cupy/_core/_accelerator.pyx because it changed.
Compiling cupy/_core/_carray.pyx because it changed.
Compiling cupy/_core/_cub_reduction.pyx because it changed.
Compiling cupy/_core/_dtype.pyx because it changed.
Compiling cupy/_core/_fusion_kernel.pyx because it changed.
Compiling cupy/_core/_fusion_thread_local.pyx because it changed.
Compiling cupy/_core/_fusion_trace.pyx because it changed.
Compiling cupy/_core/_fusion_variable.pyx because it changed.
Compiling cupy/_core/_kernel.pyx because it changed.
Compiling cupy/_core/_memory_range.pyx because it changed.
Compiling cupy/_core/_optimize_config.pyx because it changed.
Compiling cupy/_core/_reduction.pyx because it changed.
Compiling cupy/_core/_routines_binary.pyx because it changed.
Compiling cupy/_core/_routines_indexing.pyx because it changed.
Compiling cupy/_core/_routines_linalg.pyx because it changed.
Compiling cupy/_core/_routines_logic.pyx because it changed.
Compiling cupy/_core/_routines_manipulation.pyx because it changed.
Compiling cupy/_core/_routines_math.pyx because it changed.
Compiling cupy/_core/_routines_sorting.pyx because it changed.
Compiling cupy/_core/_routines_statistics.pyx because it changed.
Compiling cupy/_core/_scalar.pyx because it changed.
Compiling cupy/_core/core.pyx because it changed.
Compiling cupy/_core/flags.pyx because it changed.
Compiling cupy/_core/internal.pyx because it changed.
Compiling cupy/_core/fusion.pyx because it changed.
Compiling cupy/_core/new_fusion.pyx because it changed.
Compiling cupy/_core/raw.pyx because it changed.
Compiling cupy/cuda/common.pyx because it changed.
Compiling cupy/cuda/cufft.pyx because it changed.
Compiling cupy/cuda/device.pyx because it changed.
Compiling cupy/cuda/memory.pyx because it changed.
Compiling cupy/cuda/memory_hook.pyx because it changed.
Compiling cupy/cuda/pinned_memory.pyx because it changed.
Compiling cupy/cuda/function.pyx because it changed.
Compiling cupy/cuda/stream.pyx because it changed.
Compiling cupy/cuda/graph.pyx because it changed.
Compiling cupy/cuda/texture.pyx because it changed.
Compiling cupy/fft/_cache.pyx because it changed.
Compiling cupy/fft/_callback.pyx because it changed.
Compiling cupy/lib/_polynomial.pyx because it changed.
Compiling cupy/_util.pyx because it changed.
Compiling cupy_backends/cuda/libs/cusolver.pyx because it changed.
Compiling cupyx/cusolver.pyx because it changed.
Compiling cupy_backends/cuda/libs/cudnn.pyx because it changed.
Compiling cupyx/cudnn.pyx because it changed.
Compiling cupy_backends/cuda/libs/nvtx.pyx because it changed.
Compiling cupy/cuda/cub.pyx because it changed.
Compiling cupy/cuda/jitify.pyx because it changed.
Compiling cupy/random/_bit_generator.pyx because it changed.
Compiling cupy/random/_generator_api.pyx because it changed.
Compiling cupy/cuda/thrust.pyx because it changed.
Compiling cupy/_core/dlpack.pyx because it changed.
[ 2/62] Cythonizing cupy/_core/_carray.pyx
[ 1/62] Cythonizing cupy/_core/_accelerator.pyx
[ 4/62] Cythonizing cupy/_core/_dtype.pyx
[ 3/62] Cythonizing cupy/_core/_cub_reduction.pyx
warning: cupy_backends/cuda/api/runtime.pxd:28:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/runtime.pxd:28:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:120:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:135:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:151:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:120:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:135:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:151:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:339:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:339:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/driver.pxd:8:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/driver.pxd:8:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:102:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:219:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:102:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:219:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
[ 5/62] Cythonizing cupy/_core/_fusion_kernel.pyx
[ 6/62] Cythonizing cupy/_core/_fusion_thread_local.pyx
[ 7/62] Cythonizing cupy/_core/_fusion_trace.pyx
[ 8/62] Cythonizing cupy/_core/_fusion_variable.pyx
warning: cupy_backends/cuda/api/runtime.pxd:28:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:120:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:135:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:151:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:339:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/driver.pxd:8:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:102:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:219:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/driver.pxd:8:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/runtime.pxd:28:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:120:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:135:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:151:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:339:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
[ 9/62] Cythonizing cupy/_core/_kernel.pyx
warning: cupy_backends/cuda/api/_runtime_enum.pxd:102:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:219:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
[10/62] Cythonizing cupy/_core/_memory_range.pyx
[11/62] Cythonizing cupy/_core/_optimize_config.pyx
[12/62] Cythonizing cupy/_core/_reduction.pyx
[13/62] Cythonizing cupy/_core/_routines_binary.pyx
warning: cupy_backends/cuda/api/runtime.pxd:28:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:120:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
[14/62] Cythonizing cupy/_core/_routines_indexing.pyx
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:135:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:151:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:339:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
[15/62] Cythonizing cupy/_core/_routines_linalg.pyx
warning: cupy_backends/cuda/api/driver.pxd:8:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:102:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:219:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310

Error compiling Cython file:
------------------------------------------------------------
...
        readonly dict _routine_cache
        readonly dict _kernel_memo
        readonly object _doc
        public object __doc__
        readonly object __name__
        readonly object __module__
                        ^
------------------------------------------------------------

cupy/_core/_kernel.pyx:1159:24: '__module__' redeclared

Error compiling Cython file:
------------------------------------------------------------
...
        readonly dict _routine_cache
        readonly dict _kernel_memo
        readonly object _doc
        public object __doc__
        readonly object __name__
        readonly object __module__
        ^
------------------------------------------------------------

cupy/_core/_kernel.pyx:1159:8: Compiler crash in AnalyseDeclarationsTransform

File 'ModuleNode.py', line 203, in analyse_declarations: ModuleNode(_kernel.pyx:1:0,
    full_module_name = 'cupy._core._kernel')
File 'Nodes.py', line 393, in analyse_declarations: StatListNode(_kernel.pyx:1:0)
File 'Nodes.py', line 393, in analyse_declarations: StatListNode(_kernel.pyx:1125:5)
File 'Nodes.py', line 5489, in analyse_declarations: CClassDefNode(_kernel.pyx:1125:5,
    as_name = 'ufunc',
    class_name = 'ufunc',
    doc = 'Universal function.\n\n    Attributes:\n        ~ufunc.name (str): The name of the universal function.\n        ~ufunc.nin (int): Number of input arguments.\n        ~ufunc.nout (int): Number of output arguments.\n        ~ufunc.nargs (int): Number of all arguments.\n\n    ',
    module_name = '',
    punycode_class_name = 'ufunc',
    visibility = 'private')
File 'Nodes.py', line 393, in analyse_declarations: StatListNode(_kernel.pyx:1127:4)
File 'Nodes.py', line 393, in analyse_declarations: StatListNode(_kernel.pyx:1138:8)
File 'Nodes.py', line 1528, in analyse_declarations: CVarDefNode(_kernel.pyx:1159:8,
    modifiers = [...]/0,
    visibility = 'readonly')

Compiler crash traceback from this point on:
  File "/home/ev-br/miniforge3/envs/cupyx/lib/python3.10/site-packages/Cython/Compiler/Nodes.py", line 1528, in analyse_declarations
    self.entry = dest_scope.declare_var(
  File "/home/ev-br/miniforge3/envs/cupyx/lib/python3.10/site-packages/Cython/Compiler/Symtab.py", line 2401, in declare_var
    entry = self.declare(name, cname, type, pos, visibility)
  File "/home/ev-br/miniforge3/envs/cupyx/lib/python3.10/site-packages/Cython/Compiler/Symtab.py", line 550, in declare
    entries[name].already_declared_here()
  File "/home/ev-br/miniforge3/envs/cupyx/lib/python3.10/site-packages/Cython/Compiler/Symtab.py", line 262, in already_declared_here
    error(self.pos, "Previous declaration is here")
  File "/home/ev-br/miniforge3/envs/cupyx/lib/python3.10/site-packages/Cython/Compiler/Errors.py", line 178, in error
    raise InternalError(message)
InternalError: Internal compiler error: Previous declaration is here
Traceback (most recent call last):
  File "/home/ev-br/miniforge3/envs/cupyx/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1345, in cythonize_one_helper
    return cythonize_one(*m)
  File "/home/ev-br/miniforge3/envs/cupyx/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
    raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: cupy/_core/_kernel.pyx
[16/62] Cythonizing cupy/_core/_routines_logic.pyx
warning: cupy_backends/cuda/api/runtime.pxd:28:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
[17/62] Cythonizing cupy/_core/_routines_manipulation.pyx
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:120:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:135:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:151:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:339:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/driver.pxd:8:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:102:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:219:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
[18/62] Cythonizing cupy/_core/_routines_math.pyx
warning: cupy_backends/cuda/api/runtime.pxd:28:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:120:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:135:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:151:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:339:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/driver.pxd:8:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
[19/62] Cythonizing cupy/_core/_routines_sorting.pyx
warning: cupy_backends/cuda/api/_runtime_enum.pxd:102:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:219:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/runtime.pxd:28:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:120:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:135:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:151:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:339:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/driver.pxd:8:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:102:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:219:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
[20/62] Cythonizing cupy/_core/_routines_statistics.pyx
[21/62] Cythonizing cupy/_core/_scalar.pyx
[22/62] Cythonizing cupy/_core/core.pyx
warning: cupy_backends/cuda/api/runtime.pxd:28:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:120:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:135:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:151:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:339:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/driver.pxd:8:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:102:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:219:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
[23/62] Cythonizing cupy/_core/dlpack.pyx
[24/62] Cythonizing cupy/_core/flags.pyx
[25/62] Cythonizing cupy/_core/fusion.pyx
[26/62] Cythonizing cupy/_core/internal.pyx
warning: cupy_backends/cuda/api/runtime.pxd:28:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:120:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:135:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:151:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:339:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/driver.pxd:8:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:102:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:219:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
performance hint: cupy/_core/dlpack.pyx:87:5: Exception check on 'deleter' will always require the GIL to be acquired.
Possible solutions:
	1. Declare 'deleter' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
	2. Use an 'int' return type on 'deleter' to allow an error code to be returned.
warning: cupy/_core/dlpack.pyx:98:6: Only extern functions can throw C++ exceptions.
warning: cupy/_core/dlpack.pyx:217:6: Only extern functions can throw C++ exceptions.
warning: cupy/_core/dlpack.pyx:267:5: Only extern functions can throw C++ exceptions.

Error compiling Cython file:
------------------------------------------------------------
...
    dtype.lanes = <uint16_t>1
    dtype.bits = <uint8_t>(array.dtype.itemsize * 8)

    dlm_tensor.manager_ctx = <void*>array
    cpython.Py_INCREF(array)
    dlm_tensor.deleter = deleter
                         ^
------------------------------------------------------------

cupy/_core/dlpack.pyx:152:25: Cannot assign type 'void (DLManagedTensor *) except * nogil' to 'void (*)(DLManagedTensor *) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (DLManagedTensor *) except * nogil'.

Error compiling Cython file:
------------------------------------------------------------
...

    dlm_tensor.manager_ctx = <void*>array
    cpython.Py_INCREF(array)
    dlm_tensor.deleter = deleter

    return cpython.PyCapsule_New(dlm_tensor, 'dltensor', pycapsule_deleter)
                                                         ^
------------------------------------------------------------

cupy/_core/dlpack.pyx:154:57: Cannot assign type 'void (object) except *' to 'PyCapsule_Destructor'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (object) except *'.
Traceback (most recent call last):
  File "/home/ev-br/miniforge3/envs/cupyx/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1345, in cythonize_one_helper
    return cythonize_one(*m)
  File "/home/ev-br/miniforge3/envs/cupyx/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
    raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: cupy/_core/dlpack.pyx
[27/62] Cythonizing cupy/_core/new_fusion.pyx
[28/62] Cythonizing cupy/_core/raw.pyx
warning: cupy_backends/cuda/api/driver.pxd:8:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
[29/62] Cythonizing cupy/_util.pyx
warning: cupy_backends/cuda/api/runtime.pxd:28:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:120:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:135:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:151:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:339:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
[30/62] Cythonizing cupy/cuda/common.pyx
warning: cupy_backends/cuda/api/_runtime_enum.pxd:102:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/runtime.pxd:28:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:219:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:120:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:135:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:151:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:339:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/driver.pxd:8:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
[31/62] Cythonizing cupy/cuda/cub.pyx
warning: cupy_backends/cuda/api/_runtime_enum.pxd:102:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:219:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
[32/62] Cythonizing cupy/cuda/cufft.pyx
warning: cupy/cuda/cufft.pxd:12:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
[33/62] Cythonizing cupy/cuda/device.pyx
warning: cupy/cuda/cufft.pyx:127:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/runtime.pxd:28:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy/cuda/cufft.pyx:1194:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
[34/62] Cythonizing cupy/cuda/function.pyx
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:120:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:135:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:151:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:339:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/driver.pxd:8:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:102:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:219:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/driver.pxd:8:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/runtime.pxd:28:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:120:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:135:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:151:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:339:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:102:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:219:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
[35/62] Cythonizing cupy/cuda/graph.pyx
warning: cupy_backends/cuda/api/runtime.pxd:28:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:120:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:135:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:151:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:339:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/driver.pxd:8:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:102:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:219:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
[36/62] Cythonizing cupy/cuda/jitify.pyx
[37/62] Cythonizing cupy/cuda/memory.pyx
warning: cupy_backends/cuda/api/runtime.pxd:28:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:120:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:135:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:151:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:339:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
[38/62] Cythonizing cupy/cuda/memory_hook.pyx
warning: cupy_backends/cuda/api/driver.pxd:8:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:102:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:219:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
[39/62] Cythonizing cupy/cuda/pinned_memory.pyx
[40/62] Cythonizing cupy/cuda/stream.pyx
warning: cupy_backends/cuda/api/runtime.pxd:28:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:120:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:135:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:151:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:339:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/driver.pxd:8:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/runtime.pxd:28:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:120:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:135:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:151:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:339:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:102:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:219:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/driver.pxd:8:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:102:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:219:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
[41/62] Cythonizing cupy/cuda/texture.pyx
[42/62] Cythonizing cupy/cuda/thrust.pyx
warning: cupy_backends/cuda/api/driver.pxd:8:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/runtime.pxd:28:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:120:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:135:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:151:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
[43/62] Cythonizing cupy/fft/_cache.pyx
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:339:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:102:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:219:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
performance hint: cupy/cuda/thrust.pyx:36:5: Exception check on 'cupy_free' will always require the GIL to be acquired.
Possible solutions:
	1. Declare 'cupy_free' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
	2. Use an 'int' return type on 'cupy_free' to allow an error code to be returned.
warning: cupy/cuda/thrust.pyx:71:6: Only extern functions can throw C++ exceptions.
warning: cupy/cuda/thrust.pyx:92:6: Only extern functions can throw C++ exceptions.
warning: cupy/cuda/thrust.pyx:113:6: Only extern functions can throw C++ exceptions.
warning: cupy_backends/cuda/api/runtime.pxd:28:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:120:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:135:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:151:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:339:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/driver.pxd:8:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:102:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:219:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
[44/62] Cythonizing cupy/fft/_callback.pyx
warning: cupy_backends/cuda/api/runtime.pxd:28:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:120:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:135:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:151:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:339:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/driver.pxd:8:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/runtime.pxd:28:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:120:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:135:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:151:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:339:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:102:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:219:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/driver.pxd:8:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:102:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:219:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
[45/62] Cythonizing cupy/lib/_polynomial.pyx
[46/62] Cythonizing cupy/random/_bit_generator.pyx
[47/62] Cythonizing cupy/random/_generator_api.pyx
[48/62] Cythonizing cupy_backends/cuda/_softlink.pyx
warning: cupy_backends/cuda/_softlink.pyx:52:44: The keyword 'nogil' should appear at the end of the function signature line. Placing it before 'except' or 'noexcept' will be disallowed in a future version of Cython.
[49/62] Cythonizing cupy_backends/cuda/api/_driver_enum.pyx
warning: cupy_backends/cuda/_softlink.pyx:62:42: The keyword 'nogil' should appear at the end of the function signature line. Placing it before 'except' or 'noexcept' will be disallowed in a future version of Cython.
[50/62] Cythonizing cupy_backends/cuda/api/_runtime_enum.pyx
warning: cupy_backends/cuda/api/_runtime_enum.pxd:102:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:219:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
[51/62] Cythonizing cupy_backends/cuda/api/driver.pyx
warning: cupy_backends/cuda/api/driver.pxd:8:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/driver.pyx:22:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
[52/62] Cythonizing cupy_backends/cuda/api/runtime.pyx
warning: cupy_backends/cuda/api/runtime.pxd:28:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:120:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:135:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:151:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_typedef.pxi:339:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/driver.pxd:8:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:102:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/_runtime_enum.pxd:219:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/runtime.pyx:77:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/runtime.pyx:167:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/runtime.pyx:182:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/runtime.pyx:219:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/runtime.pyx:257:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/runtime.pyx:317:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/runtime.pyx:354:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: cupy_backends/cuda/api/runtime.pyx:717:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
performance hint: cupy_backends/cuda/api/driver.pyx:111:42: Exception check after calling 'cuDevicePrimaryCtxRelease' will always require the GIL to be acquired. Declare 'cuDevicePrimaryCtxRelease' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: cupy_backends/cuda/api/driver.pyx:122:32: Exception check after calling 'cuCtxGetCurrent' will always require the GIL to be acquired. Declare 'cuCtxGetCurrent' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: cupy_backends/cuda/api/driver.pyx:129:32: Exception check after calling 'cuCtxSetCurrent' will always require the GIL to be acquired. Declare 'cuCtxSetCurrent' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: cupy_backends/cuda/api/driver.pyx:137:28: Exception check after calling 'cuCtxCreate' will always require the GIL to be acquired. Declare 'cuCtxCreate' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: cupy_backends/cuda/api/driver.pyx:144:29: Exception check after calling 'cuCtxDestroy' will always require the GIL to be acquired. Declare 'cuCtxDestroy' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: cupy_backends/cuda/api/driver.pyx:151:31: Exception check after calling 'cuCtxGetDevice' will always require the GIL to be acquired. Declare 'cuCtxGetDevice' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: cupy_backends/cuda/api/driver.pyx:164:29: Exception check after calling 'cuLinkCreate' will always require the GIL to be acquired. Declare 'cuLinkCreate' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: cupy_backends/cuda/api/driver.pyx:176:30: Exception check after calling 'cuLinkAddData' will always require the GIL to be acquired. Declare 'cuLinkAddData' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: cupy_backends/cuda/api/driver.pyx:187:30: Exception check after calling 'cuLinkAddFile' will always require the GIL to be acquired. Declare 'cuLinkAddFile' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: cupy_backends/cuda/api/driver.pyx:197:31: Exception check after calling 'cuLinkComplete' will always require the GIL to be acquired. Declare 'cuLinkComplete' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: cupy_backends/cuda/api/driver.pyx:205:30: Exception check after calling 'cuLinkDestroy' will always require the GIL to be acquired. Declare 'cuLinkDestroy' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: cupy_backends/cuda/api/driver.pyx:215:29: Exception check after calling 'cuModuleLoad' will always require the GIL to be acquired. Declare 'cuModuleLoad' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: cupy_backends/cuda/api/driver.pyx:225:33: Exception check after calling 'cuModuleLoadData' will always require the GIL to be acquired. Declare 'cuModuleLoadData' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.