Bug#1104368: compyle: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13
Lucas Nussbaum
lucas at debian.org
Tue Apr 29 13:46:55 BST 2025
Source: compyle
Version: 0.8.1-10
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20250429 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules binary
> dh binary --buildsystem=pybuild
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:311: python3.13 setup.py config
> /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
> !!
>
> ********************************************************************************
> Please consider removing the following classifiers in favor of a SPDX license expression:
>
> License :: OSI Approved :: BSD License
>
> See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
> ********************************************************************************
>
> !!
> self._finalize_license_expression()
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:311: /usr/bin/python3 setup.py build
> /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
> !!
>
> ********************************************************************************
> Please consider removing the following classifiers in favor of a SPDX license expression:
>
> License :: OSI Approved :: BSD License
>
> See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
> ********************************************************************************
>
> !!
> self._finalize_license_expression()
> running build
> running build_py
> creating /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle
> copying compyle/array.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle
> copying compyle/low_level.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle
> copying compyle/opencl.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle
> copying compyle/capture_stream.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle
> copying compyle/profile.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle
> copying compyle/ast_utils.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle
> copying compyle/parallel.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle
> copying compyle/utils.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle
> copying compyle/api.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle
> copying compyle/ext_module.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle
> copying compyle/translator.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle
> copying compyle/template.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle
> copying compyle/cuda.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle
> copying compyle/transpiler.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle
> copying compyle/config.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle
> copying compyle/cython_generator.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle
> copying compyle/jit.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle
> copying compyle/types.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle
> copying compyle/extern.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle
> copying compyle/sort.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle
> copying compyle/__init__.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle
> creating /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle/thrust
> copying compyle/thrust/__init__.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle/thrust
> creating /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle/tests
> copying compyle/tests/test_ext_module.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle/tests
> copying compyle/tests/test_utils.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle/tests
> copying compyle/tests/test_jit.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle/tests
> copying compyle/tests/test_translator.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle/tests
> copying compyle/tests/test_types.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle/tests
> copying compyle/tests/test_transpiler.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle/tests
> copying compyle/tests/test_array.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle/tests
> copying compyle/tests/test_profile.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle/tests
> copying compyle/tests/test_parallel.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle/tests
> copying compyle/tests/py3_code.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle/tests
> copying compyle/tests/test_cython_generator.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle/tests
> copying compyle/tests/test_config.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle/tests
> copying compyle/tests/test_gpu_struct.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle/tests
> copying compyle/tests/test_ast_utils.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle/tests
> copying compyle/tests/test_cuda.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle/tests
> copying compyle/tests/test_template.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle/tests
> copying compyle/tests/test_capture_stream.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle/tests
> copying compyle/tests/test_low_level.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle/tests
> copying compyle/tests/__init__.py -> /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build/compyle/tests
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:311: cd /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build; python3.13 -m pytest -k "not test_that_multiple_compiles_do_not_occur_for_same_source and not test_const_as_call_arg and not test_const_in_return" --ignore=/build/reproducible-path/compyle-0.8.1/compyle/tests/test_cuda.py --ignore=/build/reproducible-path/compyle-0.8.1/compyle/tests/test_parallel.py /build/reproducible-path/compyle-0.8.1/compyle/tests
> ============================= test session starts ==============================
> platform linux -- Python 3.13.3, pytest-8.3.5, pluggy-1.5.0
> rootdir: /build/reproducible-path/compyle-0.8.1
> configfile: pyproject.toml
> plugins: typeguard-4.4.2
> collected 327 items / 3 deselected / 324 selected
>
> ../../../compyle/tests/test_array.py .Fs.Fs.Fs.Fs.Fs.Fs.Fs.Fs.Fs.Fs.Fs.F [ 10%]
> s.Fs.Fs..Fs.sx.Fs.Fs.Fs.Fs.Fs.Fs.Fs.Fs.Fs.Fs.Fs.Fs.Fs.Fs.Fs.Fs.Fs.Fs.Fs. [ 33%]
> Fs.Fs.Fs.Fs.Fs.Fs.Fss..s...FFFsss...FFFsss...FFFsss.Fs [ 49%]
> ../../../compyle/tests/test_ast_utils.py ....... [ 51%]
> ../../../compyle/tests/test_capture_stream.py ..... [ 53%]
> ../../../compyle/tests/test_config.py ............ [ 57%]
> ../../../compyle/tests/test_cython_generator.py ................. [ 62%]
> ../../../compyle/tests/test_ext_module.py ........ [ 64%]
> ../../../compyle/tests/test_gpu_struct.py s [ 65%]
> ../../../compyle/tests/test_jit.py .......................... [ 73%]
> ../../../compyle/tests/test_low_level.py sFsF.... [ 75%]
> ../../../compyle/tests/test_profile.py ..... [ 77%]
> ../../../compyle/tests/test_template.py ..... [ 78%]
> ../../../compyle/tests/test_translator.py .............................. [ 87%]
> ......................... [ 95%]
> ../../../compyle/tests/test_transpiler.py ... [ 96%]
> ../../../compyle/tests/test_types.py ....... [ 98%]
> ../../../compyle/tests/test_utils.py .... [100%]
>
> =================================== FAILURES ===================================
> _____________________________ test_reserve[opencl] _____________________________
>
> backend = 'opencl'
>
> @check_all_backends
> def test_reserve(backend):
> check_import(backend)
>
> # Given
> > dev_array = make_dev_array(backend)
>
> ../../../compyle/tests/test_array.py:36:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/tests/test_array.py:18: in make_dev_array
> dev_array = Array(np.int32, n=n, backend=backend)
> ../../../compyle/array.py:910: in __init__
> data = empty(n, dtype, backend=self.backend)
> ../../../compyle/array.py:317: in empty
> out = gpuarray.empty(get_queue(), n, dtype)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> ____________________ test_resize_with_reallocation[opencl] _____________________
>
> backend = 'opencl'
>
> @check_all_backends
> def test_resize_with_reallocation(backend):
> check_import(backend)
>
> # Given
> > dev_array = make_dev_array(backend)
>
> ../../../compyle/tests/test_array.py:52:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/tests/test_array.py:18: in make_dev_array
> dev_array = Array(np.int32, n=n, backend=backend)
> ../../../compyle/array.py:910: in __init__
> data = empty(n, dtype, backend=self.backend)
> ../../../compyle/array.py:317: in empty
> out = gpuarray.empty(get_queue(), n, dtype)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> ___________________ test_resize_without_reallocation[opencl] ___________________
>
> backend = 'opencl'
>
> @check_all_backends
> def test_resize_without_reallocation(backend):
> check_import(backend)
>
> # Given
> > dev_array = make_dev_array(backend, n=128)
>
> ../../../compyle/tests/test_array.py:68:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/tests/test_array.py:18: in make_dev_array
> dev_array = Array(np.int32, n=n, backend=backend)
> ../../../compyle/array.py:910: in __init__
> data = empty(n, dtype, backend=self.backend)
> ../../../compyle/array.py:317: in empty
> out = gpuarray.empty(get_queue(), n, dtype)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> ______________________________ test_copy[opencl] _______________________________
>
> backend = 'opencl'
>
> @check_all_backends
> def test_copy(backend):
> check_import(backend)
>
> # Given
> > dev_array = make_dev_array(backend)
>
> ../../../compyle/tests/test_array.py:84:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/tests/test_array.py:18: in make_dev_array
> dev_array = Array(np.int32, n=n, backend=backend)
> ../../../compyle/array.py:910: in __init__
> data = empty(n, dtype, backend=self.backend)
> ../../../compyle/array.py:317: in empty
> out = gpuarray.empty(get_queue(), n, dtype)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> ____________________ test_append_with_reallocation[opencl] _____________________
>
> backend = 'opencl'
>
> @check_all_backends
> def test_append_with_reallocation(backend):
> check_import(backend)
>
> # Given
> > dev_array = make_dev_array(backend)
>
> ../../../compyle/tests/test_array.py:102:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/tests/test_array.py:18: in make_dev_array
> dev_array = Array(np.int32, n=n, backend=backend)
> ../../../compyle/array.py:910: in __init__
> data = empty(n, dtype, backend=self.backend)
> ../../../compyle/array.py:317: in empty
> out = gpuarray.empty(get_queue(), n, dtype)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> ___________________ test_append_without_reallocation[opencl] ___________________
>
> backend = 'opencl'
>
> @check_all_backends
> def test_append_without_reallocation(backend):
> check_import(backend)
>
> # Given
> > dev_array = make_dev_array(backend)
>
> ../../../compyle/tests/test_array.py:117:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/tests/test_array.py:18: in make_dev_array
> dev_array = Array(np.int32, n=n, backend=backend)
> ../../../compyle/array.py:910: in __init__
> data = empty(n, dtype, backend=self.backend)
> ../../../compyle/array.py:317: in empty
> out = gpuarray.empty(get_queue(), n, dtype)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> _____________________________ test_extend[opencl] ______________________________
>
> backend = 'opencl'
>
> @check_all_backends
> def test_extend(backend):
> check_import(backend)
>
> # Given
> > dev_array = make_dev_array(backend)
>
> ../../../compyle/tests/test_array.py:133:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/tests/test_array.py:18: in make_dev_array
> dev_array = Array(np.int32, n=n, backend=backend)
> ../../../compyle/array.py:910: in __init__
> data = empty(n, dtype, backend=self.backend)
> ../../../compyle/array.py:317: in empty
> out = gpuarray.empty(get_queue(), n, dtype)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> _____________________________ test_remove[opencl] ______________________________
>
> backend = 'opencl'
>
> @check_all_backends
> def test_remove(backend):
> check_import(backend)
>
> # Given
> > dev_array = Array(np.int32, backend=backend)
>
> ../../../compyle/tests/test_array.py:150:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:910: in __init__
> data = empty(n, dtype, backend=self.backend)
> ../../../compyle/array.py:317: in empty
> out = gpuarray.empty(get_queue(), n, dtype)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> ______________________________ test_align[opencl] ______________________________
>
> backend = 'opencl'
>
> @check_all_backends
> def test_align(backend):
> check_import(backend)
>
> # Given
> > dev_array = Array(np.int32, backend=backend)
>
> ../../../compyle/tests/test_array.py:168:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:910: in __init__
> data = empty(n, dtype, backend=self.backend)
> ../../../compyle/array.py:317: in empty
> out = gpuarray.empty(get_queue(), n, dtype)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> _________________________ test_align_multiple[opencl] __________________________
>
> backend = 'opencl'
>
> @check_all_backends
> def test_align_multiple(backend):
> check_import(backend)
>
> # Given
> > dev_array_a = Array(np.uint32, backend=backend)
>
> ../../../compyle/tests/test_array.py:185:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:910: in __init__
> data = empty(n, dtype, backend=self.backend)
> ../../../compyle/array.py:317: in empty
> out = gpuarray.empty(get_queue(), n, dtype)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> _____________________________ test_squeeze[opencl] _____________________________
>
> backend = 'opencl'
>
> @check_all_backends
> def test_squeeze(backend):
> check_import(backend)
>
> # Given
> > dev_array = make_dev_array(backend)
>
> ../../../compyle/tests/test_array.py:209:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/tests/test_array.py:18: in make_dev_array
> dev_array = Array(np.int32, n=n, backend=backend)
> ../../../compyle/array.py:910: in __init__
> data = empty(n, dtype, backend=self.backend)
> ../../../compyle/array.py:317: in empty
> out = gpuarray.empty(get_queue(), n, dtype)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> ___________________________ test_copy_values[opencl] ___________________________
>
> backend = 'opencl'
>
> @check_all_backends
> def test_copy_values(backend):
> check_import(backend)
>
> # Given
> > dev_array = make_dev_array(backend)
>
> ../../../compyle/tests/test_array.py:226:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/tests/test_array.py:18: in make_dev_array
> dev_array = Array(np.int32, n=n, backend=backend)
> ../../../compyle/array.py:910: in __init__
> data = empty(n, dtype, backend=self.backend)
> ../../../compyle/array.py:317: in empty
> out = gpuarray.empty(get_queue(), n, dtype)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> _____________________________ test_min_max[opencl] _____________________________
>
> backend = 'opencl'
>
> @check_all_backends
> def test_min_max(backend):
> check_import(backend)
>
> # Given
> > dev_array = make_dev_array(backend)
>
> ../../../compyle/tests/test_array.py:244:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/tests/test_array.py:18: in make_dev_array
> dev_array = Array(np.int32, n=n, backend=backend)
> ../../../compyle/array.py:910: in __init__
> data = empty(n, dtype, backend=self.backend)
> ../../../compyle/array.py:317: in empty
> out = gpuarray.empty(get_queue(), n, dtype)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> __________________________ test_sort_by_keys[opencl] ___________________________
>
> backend = 'opencl'
>
> @check_all_backends
> def test_sort_by_keys(backend):
> check_import(backend)
>
> # Given
> pre_nparr1 = np.random.randint(0, 100, 16, dtype=np.int32)
> pre_nparr2 = np.random.randint(0, 100, 16, dtype=np.int32)
>
> ## drop non unique values
> nparr1, indices = np.unique(pre_nparr1, return_index=True)
> nparr2 = pre_nparr2[indices]
>
> > dev_array1, dev_array2 = array.wrap(nparr1, nparr2, backend=backend)
>
> ../../../compyle/tests/test_array.py:268:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:270: in wrap
> return [wrap_array(x, backend) for x in args]
> ../../../compyle/array.py:231: in wrap_array
> q = get_queue()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> ____________________ test_sort_by_keys_with_output[opencl] _____________________
>
> backend = 'opencl'
>
> @pytest.mark.parametrize(
> 'backend', ['cython', 'opencl',
> pytest.param('cuda', marks=pytest.mark.xfail)])
> def test_sort_by_keys_with_output(backend):
> check_import(backend)
>
> # Given
> pre_nparr1 = np.random.randint(0, 100, 16, dtype=np.int32)
> pre_nparr2 = np.random.randint(0, 100, 16, dtype=np.int32)
>
> ## drop non unique values
> nparr1, indices = np.unique(pre_nparr1, return_index=True)
> nparr2 = pre_nparr2[indices]
>
> > dev_array1, dev_array2 = array.wrap(nparr1, nparr2, backend=backend)
>
> ../../../compyle/tests/test_array.py:324:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:270: in wrap
> return [wrap_array(x, backend) for x in args]
> ../../../compyle/array.py:231: in wrap_array
> q = get_queue()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> _______________________________ test_dot[opencl] _______________________________
>
> backend = 'opencl'
>
> @check_all_backends
> def test_dot(backend):
> check_import(backend)
>
> # Given
> > a = make_dev_array(backend)
>
> ../../../compyle/tests/test_array.py:365:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/tests/test_array.py:18: in make_dev_array
> dev_array = Array(np.int32, n=n, backend=backend)
> ../../../compyle/array.py:910: in __init__
> data = empty(n, dtype, backend=self.backend)
> ../../../compyle/array.py:317: in empty
> out = gpuarray.empty(get_queue(), n, dtype)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> _____________________________ test_cumsum[opencl] ______________________________
>
> backend = 'opencl'
>
> @check_all_backends
> def test_cumsum(backend):
> check_import(backend)
>
> # Given
> > a = array.ones(100, dtype=int, backend=backend)
>
> ../../../compyle/tests/test_array.py:383:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:304: in ones
> out = 1 + gpuarray.zeros(get_queue(), n, dtype)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> ____________________________ test_linspace[opencl] _____________________________
>
> backend = 'opencl'
>
> @check_all_backends
> def test_linspace(backend):
> check_import(backend)
>
> > dev_array = array.linspace(2, 10, 100, backend=backend)
>
> ../../../compyle/tests/test_array.py:409:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:384: in linspace
> out = gpuarray.arange(get_queue(), 0, num,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> ___________________________ test_diff[int32-opencl] ____________________________
>
> backend = 'opencl', dtype = <class 'numpy.int32'>
>
> @check_all_backends
> @check_all_dtypes
> def test_diff(backend, dtype):
> check_import(backend)
> if dtype == np.float64:
> get_config().use_double = True
> > dev_array = array.ones(1, dtype=dtype, backend=backend)
>
> ../../../compyle/tests/test_array.py:425:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:304: in ones
> out = 1 + gpuarray.zeros(get_queue(), n, dtype)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> __________________________ test_diff[float32-opencl] ___________________________
>
> backend = 'opencl', dtype = <class 'numpy.float32'>
>
> @check_all_backends
> @check_all_dtypes
> def test_diff(backend, dtype):
> check_import(backend)
> if dtype == np.float64:
> get_config().use_double = True
> > dev_array = array.ones(1, dtype=dtype, backend=backend)
>
> ../../../compyle/tests/test_array.py:425:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:304: in ones
> out = 1 + gpuarray.zeros(get_queue(), n, dtype)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> __________________________ test_diff[float64-opencl] ___________________________
>
> backend = 'opencl', dtype = <class 'numpy.float64'>
>
> @check_all_backends
> @check_all_dtypes
> def test_diff(backend, dtype):
> check_import(backend)
> if dtype == np.float64:
> get_config().use_double = True
> > dev_array = array.ones(1, dtype=dtype, backend=backend)
>
> ../../../compyle/tests/test_array.py:425:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:304: in ones
> out = 1 + gpuarray.zeros(get_queue(), n, dtype)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> ______________________________ test_trapz[opencl] ______________________________
>
> backend = 'opencl'
>
> @check_all_backends
> def test_trapz(backend):
> check_import(backend)
> > x = array.linspace(0, 5, 6, dtype=np.float32, backend=backend)
>
> ../../../compyle/tests/test_array.py:448:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:384: in linspace
> out = gpuarray.arange(get_queue(), 0, num,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> _____________________ test_comparison[__gt__-int32-opencl] _____________________
>
> backend = 'opencl', dtype = <class 'numpy.int32'>, method = '__gt__'
>
> @check_all_backends
> @check_all_dtypes
> @check_comparison_methods
> def test_comparison(backend, dtype, method):
> check_import(backend)
> if dtype == np.float64:
> get_config().use_double = True
> # Given
> > x = array.arange(0., 10., 1., dtype=dtype, backend=backend)
>
> ../../../compyle/tests/test_array.py:473:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:361: in arange
> out = gpuarray.arange(get_queue(), start, stop,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> ____________________ test_comparison[__gt__-float32-opencl] ____________________
>
> backend = 'opencl', dtype = <class 'numpy.float32'>, method = '__gt__'
>
> @check_all_backends
> @check_all_dtypes
> @check_comparison_methods
> def test_comparison(backend, dtype, method):
> check_import(backend)
> if dtype == np.float64:
> get_config().use_double = True
> # Given
> > x = array.arange(0., 10., 1., dtype=dtype, backend=backend)
>
> ../../../compyle/tests/test_array.py:473:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:361: in arange
> out = gpuarray.arange(get_queue(), start, stop,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> ____________________ test_comparison[__gt__-float64-opencl] ____________________
>
> backend = 'opencl', dtype = <class 'numpy.float64'>, method = '__gt__'
>
> @check_all_backends
> @check_all_dtypes
> @check_comparison_methods
> def test_comparison(backend, dtype, method):
> check_import(backend)
> if dtype == np.float64:
> get_config().use_double = True
> # Given
> > x = array.arange(0., 10., 1., dtype=dtype, backend=backend)
>
> ../../../compyle/tests/test_array.py:473:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:361: in arange
> out = gpuarray.arange(get_queue(), start, stop,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> _____________________ test_comparison[__lt__-int32-opencl] _____________________
>
> backend = 'opencl', dtype = <class 'numpy.int32'>, method = '__lt__'
>
> @check_all_backends
> @check_all_dtypes
> @check_comparison_methods
> def test_comparison(backend, dtype, method):
> check_import(backend)
> if dtype == np.float64:
> get_config().use_double = True
> # Given
> > x = array.arange(0., 10., 1., dtype=dtype, backend=backend)
>
> ../../../compyle/tests/test_array.py:473:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:361: in arange
> out = gpuarray.arange(get_queue(), start, stop,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> ____________________ test_comparison[__lt__-float32-opencl] ____________________
>
> backend = 'opencl', dtype = <class 'numpy.float32'>, method = '__lt__'
>
> @check_all_backends
> @check_all_dtypes
> @check_comparison_methods
> def test_comparison(backend, dtype, method):
> check_import(backend)
> if dtype == np.float64:
> get_config().use_double = True
> # Given
> > x = array.arange(0., 10., 1., dtype=dtype, backend=backend)
>
> ../../../compyle/tests/test_array.py:473:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:361: in arange
> out = gpuarray.arange(get_queue(), start, stop,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> ____________________ test_comparison[__lt__-float64-opencl] ____________________
>
> backend = 'opencl', dtype = <class 'numpy.float64'>, method = '__lt__'
>
> @check_all_backends
> @check_all_dtypes
> @check_comparison_methods
> def test_comparison(backend, dtype, method):
> check_import(backend)
> if dtype == np.float64:
> get_config().use_double = True
> # Given
> > x = array.arange(0., 10., 1., dtype=dtype, backend=backend)
>
> ../../../compyle/tests/test_array.py:473:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:361: in arange
> out = gpuarray.arange(get_queue(), start, stop,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> _____________________ test_comparison[__ge__-int32-opencl] _____________________
>
> backend = 'opencl', dtype = <class 'numpy.int32'>, method = '__ge__'
>
> @check_all_backends
> @check_all_dtypes
> @check_comparison_methods
> def test_comparison(backend, dtype, method):
> check_import(backend)
> if dtype == np.float64:
> get_config().use_double = True
> # Given
> > x = array.arange(0., 10., 1., dtype=dtype, backend=backend)
>
> ../../../compyle/tests/test_array.py:473:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:361: in arange
> out = gpuarray.arange(get_queue(), start, stop,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> ____________________ test_comparison[__ge__-float32-opencl] ____________________
>
> backend = 'opencl', dtype = <class 'numpy.float32'>, method = '__ge__'
>
> @check_all_backends
> @check_all_dtypes
> @check_comparison_methods
> def test_comparison(backend, dtype, method):
> check_import(backend)
> if dtype == np.float64:
> get_config().use_double = True
> # Given
> > x = array.arange(0., 10., 1., dtype=dtype, backend=backend)
>
> ../../../compyle/tests/test_array.py:473:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:361: in arange
> out = gpuarray.arange(get_queue(), start, stop,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> ____________________ test_comparison[__ge__-float64-opencl] ____________________
>
> backend = 'opencl', dtype = <class 'numpy.float64'>, method = '__ge__'
>
> @check_all_backends
> @check_all_dtypes
> @check_comparison_methods
> def test_comparison(backend, dtype, method):
> check_import(backend)
> if dtype == np.float64:
> get_config().use_double = True
> # Given
> > x = array.arange(0., 10., 1., dtype=dtype, backend=backend)
>
> ../../../compyle/tests/test_array.py:473:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:361: in arange
> out = gpuarray.arange(get_queue(), start, stop,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> _____________________ test_comparison[__le__-int32-opencl] _____________________
>
> backend = 'opencl', dtype = <class 'numpy.int32'>, method = '__le__'
>
> @check_all_backends
> @check_all_dtypes
> @check_comparison_methods
> def test_comparison(backend, dtype, method):
> check_import(backend)
> if dtype == np.float64:
> get_config().use_double = True
> # Given
> > x = array.arange(0., 10., 1., dtype=dtype, backend=backend)
>
> ../../../compyle/tests/test_array.py:473:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:361: in arange
> out = gpuarray.arange(get_queue(), start, stop,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> ____________________ test_comparison[__le__-float32-opencl] ____________________
>
> backend = 'opencl', dtype = <class 'numpy.float32'>, method = '__le__'
>
> @check_all_backends
> @check_all_dtypes
> @check_comparison_methods
> def test_comparison(backend, dtype, method):
> check_import(backend)
> if dtype == np.float64:
> get_config().use_double = True
> # Given
> > x = array.arange(0., 10., 1., dtype=dtype, backend=backend)
>
> ../../../compyle/tests/test_array.py:473:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:361: in arange
> out = gpuarray.arange(get_queue(), start, stop,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> ____________________ test_comparison[__le__-float64-opencl] ____________________
>
> backend = 'opencl', dtype = <class 'numpy.float64'>, method = '__le__'
>
> @check_all_backends
> @check_all_dtypes
> @check_comparison_methods
> def test_comparison(backend, dtype, method):
> check_import(backend)
> if dtype == np.float64:
> get_config().use_double = True
> # Given
> > x = array.arange(0., 10., 1., dtype=dtype, backend=backend)
>
> ../../../compyle/tests/test_array.py:473:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:361: in arange
> out = gpuarray.arange(get_queue(), start, stop,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> _____________________ test_comparison[__ne__-int32-opencl] _____________________
>
> backend = 'opencl', dtype = <class 'numpy.int32'>, method = '__ne__'
>
> @check_all_backends
> @check_all_dtypes
> @check_comparison_methods
> def test_comparison(backend, dtype, method):
> check_import(backend)
> if dtype == np.float64:
> get_config().use_double = True
> # Given
> > x = array.arange(0., 10., 1., dtype=dtype, backend=backend)
>
> ../../../compyle/tests/test_array.py:473:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:361: in arange
> out = gpuarray.arange(get_queue(), start, stop,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> ____________________ test_comparison[__ne__-float32-opencl] ____________________
>
> backend = 'opencl', dtype = <class 'numpy.float32'>, method = '__ne__'
>
> @check_all_backends
> @check_all_dtypes
> @check_comparison_methods
> def test_comparison(backend, dtype, method):
> check_import(backend)
> if dtype == np.float64:
> get_config().use_double = True
> # Given
> > x = array.arange(0., 10., 1., dtype=dtype, backend=backend)
>
> ../../../compyle/tests/test_array.py:473:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:361: in arange
> out = gpuarray.arange(get_queue(), start, stop,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> ____________________ test_comparison[__ne__-float64-opencl] ____________________
>
> backend = 'opencl', dtype = <class 'numpy.float64'>, method = '__ne__'
>
> @check_all_backends
> @check_all_dtypes
> @check_comparison_methods
> def test_comparison(backend, dtype, method):
> check_import(backend)
> if dtype == np.float64:
> get_config().use_double = True
> # Given
> > x = array.arange(0., 10., 1., dtype=dtype, backend=backend)
>
> ../../../compyle/tests/test_array.py:473:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:361: in arange
> out = gpuarray.arange(get_queue(), start, stop,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> _____________________ test_comparison[__eq__-int32-opencl] _____________________
>
> backend = 'opencl', dtype = <class 'numpy.int32'>, method = '__eq__'
>
> @check_all_backends
> @check_all_dtypes
> @check_comparison_methods
> def test_comparison(backend, dtype, method):
> check_import(backend)
> if dtype == np.float64:
> get_config().use_double = True
> # Given
> > x = array.arange(0., 10., 1., dtype=dtype, backend=backend)
>
> ../../../compyle/tests/test_array.py:473:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:361: in arange
> out = gpuarray.arange(get_queue(), start, stop,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> ____________________ test_comparison[__eq__-float32-opencl] ____________________
>
> backend = 'opencl', dtype = <class 'numpy.float32'>, method = '__eq__'
>
> @check_all_backends
> @check_all_dtypes
> @check_comparison_methods
> def test_comparison(backend, dtype, method):
> check_import(backend)
> if dtype == np.float64:
> get_config().use_double = True
> # Given
> > x = array.arange(0., 10., 1., dtype=dtype, backend=backend)
>
> ../../../compyle/tests/test_array.py:473:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:361: in arange
> out = gpuarray.arange(get_queue(), start, stop,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> ____________________ test_comparison[__eq__-float64-opencl] ____________________
>
> backend = 'opencl', dtype = <class 'numpy.float64'>, method = '__eq__'
>
> @check_all_backends
> @check_all_dtypes
> @check_comparison_methods
> def test_comparison(backend, dtype, method):
> check_import(backend)
> if dtype == np.float64:
> get_config().use_double = True
> # Given
> > x = array.arange(0., 10., 1., dtype=dtype, backend=backend)
>
> ../../../compyle/tests/test_array.py:473:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:361: in arange
> out = gpuarray.arange(get_queue(), start, stop,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> ______________________________ test_where[opencl] ______________________________
>
> backend = 'opencl'
>
> @check_all_backends
> def test_where(backend):
> check_import(backend)
> # Given
> > a = array.arange(0, 10, 1, backend=backend)
>
> ../../../compyle/tests/test_array.py:488:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:361: in arange
> out = gpuarray.arange(get_queue(), start, stop,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> __________________________ test_minimum[opencl-int32] __________________________
>
> dtype = <class 'numpy.int32'>, backend = 'opencl'
>
> @check_all_dtypes
> @check_all_backends
> def test_minimum(dtype, backend):
> check_import(backend)
>
> # Given
> > x = array.arange(3, 5, 1, backend=backend, dtype=dtype)
>
> ../../../compyle/tests/test_array.py:533:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:361: in arange
> out = gpuarray.arange(get_queue(), start, stop,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> _________________________ test_minimum[opencl-float32] _________________________
>
> dtype = <class 'numpy.float32'>, backend = 'opencl'
>
> @check_all_dtypes
> @check_all_backends
> def test_minimum(dtype, backend):
> check_import(backend)
>
> # Given
> > x = array.arange(3, 5, 1, backend=backend, dtype=dtype)
>
> ../../../compyle/tests/test_array.py:533:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:361: in arange
> out = gpuarray.arange(get_queue(), start, stop,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> _________________________ test_minimum[opencl-float64] _________________________
>
> dtype = <class 'numpy.float64'>, backend = 'opencl'
>
> @check_all_dtypes
> @check_all_backends
> def test_minimum(dtype, backend):
> check_import(backend)
>
> # Given
> > x = array.arange(3, 5, 1, backend=backend, dtype=dtype)
>
> ../../../compyle/tests/test_array.py:533:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:361: in arange
> out = gpuarray.arange(get_queue(), start, stop,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> ____________________________ test_sum[opencl-int32] ____________________________
>
> dtype = <class 'numpy.int32'>, backend = 'opencl'
>
> @check_all_dtypes
> @check_all_backends
> def test_sum(dtype, backend):
> check_import(backend)
>
> # Given
> > x = array.arange(0, 5, 1, backend=backend, dtype=dtype)
>
> ../../../compyle/tests/test_array.py:548:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:361: in arange
> out = gpuarray.arange(get_queue(), start, stop,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> ___________________________ test_sum[opencl-float32] ___________________________
>
> dtype = <class 'numpy.float32'>, backend = 'opencl'
>
> @check_all_dtypes
> @check_all_backends
> def test_sum(dtype, backend):
> check_import(backend)
>
> # Given
> > x = array.arange(0, 5, 1, backend=backend, dtype=dtype)
>
> ../../../compyle/tests/test_array.py:548:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:361: in arange
> out = gpuarray.arange(get_queue(), start, stop,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> ___________________________ test_sum[opencl-float64] ___________________________
>
> dtype = <class 'numpy.float64'>, backend = 'opencl'
>
> @check_all_dtypes
> @check_all_backends
> def test_sum(dtype, backend):
> check_import(backend)
>
> # Given
> > x = array.arange(0, 5, 1, backend=backend, dtype=dtype)
>
> ../../../compyle/tests/test_array.py:548:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:361: in arange
> out = gpuarray.arange(get_queue(), start, stop,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> _________________________ test_take_bool[opencl-int32] _________________________
>
> dtype = <class 'numpy.int32'>, backend = 'opencl'
>
> @check_all_dtypes
> @check_all_backends
> def test_take_bool(dtype, backend):
> check_import(backend)
> if dtype == np.float64:
> get_config().use_double = True
>
> # Given
> > x = array.arange(0, 10, 1, backend=backend, dtype=dtype)
>
> ../../../compyle/tests/test_array.py:565:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:361: in arange
> out = gpuarray.arange(get_queue(), start, stop,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> ________________________ test_take_bool[opencl-float32] ________________________
>
> dtype = <class 'numpy.float32'>, backend = 'opencl'
>
> @check_all_dtypes
> @check_all_backends
> def test_take_bool(dtype, backend):
> check_import(backend)
> if dtype == np.float64:
> get_config().use_double = True
>
> # Given
> > x = array.arange(0, 10, 1, backend=backend, dtype=dtype)
>
> ../../../compyle/tests/test_array.py:565:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:361: in arange
> out = gpuarray.arange(get_queue(), start, stop,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> ________________________ test_take_bool[opencl-float64] ________________________
>
> dtype = <class 'numpy.float64'>, backend = 'opencl'
>
> @check_all_dtypes
> @check_all_backends
> def test_take_bool(dtype, backend):
> check_import(backend)
> if dtype == np.float64:
> get_config().use_double = True
>
> # Given
> > x = array.arange(0, 10, 1, backend=backend, dtype=dtype)
>
> ../../../compyle/tests/test_array.py:565:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:361: in arange
> out = gpuarray.arange(get_queue(), start, stop,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> ____________________________ test_binary_op[opencl] ____________________________
>
> backend = 'opencl'
>
> @check_all_backends
> def test_binary_op(backend):
> check_import(backend)
>
> # Given
> > x = array.ones(10, dtype=np.float32, backend=backend)
>
> ../../../compyle/tests/test_array.py:582:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:304: in ones
> out = 1 + gpuarray.zeros(get_queue(), n, dtype)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> _______________ TestKernel.test_kernel_with_local_memory_opencl ________________
>
> self = <compyle.tests.test_low_level.TestKernel testMethod=test_kernel_with_local_memory_opencl>
>
> def test_kernel_with_local_memory_opencl(self):
> importorskip('pyopencl')
>
> # Given
> @annotate(gdoublep='x, y', xc='ldoublep', a='float')
> def knl(x, y, xc, a):
> i, lid = declare('int', 2)
> lid = LID_0
> i = GID_0 * LDIM_0 + lid
>
> xc[lid] = x[i]
>
> local_barrier()
>
> y[i] = xc[lid] * a
>
> x = np.linspace(0, 1, 1024)
> y = np.zeros_like(x)
> xc = LocalMem(1, backend='opencl')
>
> > x, y = wrap(x, y, backend='opencl')
>
> ../../../compyle/tests/test_low_level.py:84:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:270: in wrap
> return [wrap_array(x, backend) for x in args]
> ../../../compyle/array.py:231: in wrap_array
> q = get_queue()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> _____________________ TestKernel.test_simple_kernel_opencl _____________________
>
> self = <compyle.tests.test_low_level.TestKernel testMethod=test_simple_kernel_opencl>
>
> def test_simple_kernel_opencl(self):
> importorskip('pyopencl')
>
> # Given
> @annotate(gdoublep='x, y', a='float', size='int')
> def knl(x, y, a, size):
> i = declare('int')
> i = GID_0*LDIM_0 + LID_0
> if i < size:
> y[i] = x[i]*a
>
> x = np.linspace(0, 1, 1000)
> y = np.zeros_like(x)
> > x, y = wrap(x, y, backend='opencl')
>
> ../../../compyle/tests/test_low_level.py:29:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ../../../compyle/array.py:270: in wrap
> return [wrap_array(x, backend) for x in args]
> ../../../compyle/array.py:231: in wrap_array
> q = get_queue()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> def get_queue():
> global _queue
> if _queue is None:
> properties = None
> if get_config().profile:
> properties = cl.command_queue_properties.PROFILING_ENABLE
> > _queue = cl.CommandQueue(get_context(), properties=properties)
> E TypeError: __init__(): incompatible function arguments. The following argument types are supported:
> E 1. __init__(self, context: pyopencl._cl.Context, device: pyopencl._cl.Device | None = None, properties: object = 0) -> None
> E
> E Invoked with types: pyopencl._cl.CommandQueue, pyopencl._cl.Context, kwargs = { properties: NoneType }
>
> ../../../compyle/opencl.py:35: TypeError
> =============================== warnings summary ===============================
> compyle/tests/test_array.py::test_align_multiple[cython]
> compyle/tests/test_array.py::test_sort_by_keys[cython]
> compyle/tests/test_array.py::test_radix_sort_by_keys
> compyle/tests/test_array.py::test_radix_sort_by_keys
> compyle/tests/test_template.py::test_simple_template
> compyle/tests/test_template.py::test_simple_template
> compyle/tests/test_template.py::test_that_source_code_is_available
> compyle/tests/test_template.py::test_template_usable_in_code_generation
> compyle/tests/test_template.py::test_template_with_extra_args
> /build/reproducible-path/compyle-0.8.1/compyle/template.py:52: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
> template = body[-1].value.s
>
> compyle/tests/test_array.py: 4 warnings
> compyle/tests/test_jit.py: 5 warnings
> compyle/tests/test_translator.py: 93 warnings
> /usr/lib/python3.13/ast.py:428: DeprecationWarning: visit_Num is deprecated; add visit_Constant
> return visitor(node)
>
> compyle/tests/test_array.py::test_radix_sort_by_keys
> compyle/tests/test_array.py::test_radix_sort_by_keys
> compyle/tests/test_array.py::test_radix_sort_by_keys
> compyle/tests/test_array.py::test_radix_sort_by_keys
> compyle/tests/test_jit.py::TestAnnotationHelper::test_declare_multiple_variables
> compyle/tests/test_jit.py::TestAnnotationHelper::test_declare_multiple_variables
> compyle/tests/test_jit.py::TestAnnotationHelper::test_no_return_value
> compyle/tests/test_jit.py::TestAnnotationHelper::test_no_return_value
> compyle/tests/test_jit.py::TestAnnotationHelper::test_undeclared_variable_declaration_in_for
> /build/reproducible-path/compyle-0.8.1/compyle/jit.py:299: DeprecationWarning: Attribute n is deprecated and will be removed in Python 3.14; use value instead
> return get_ctype_from_arg(node.n)
>
> compyle/tests/test_array.py::test_trapz[cython]
> /build/reproducible-path/compyle-0.8.1/compyle/tests/test_array.py:452: DeprecationWarning: `trapz` is deprecated. Use `trapezoid` instead, or one of the numerical integration functions in `scipy.integrate`.
> assert(array.trapz(y) == np.trapz(yn))
>
> compyle/tests/test_array.py::test_trapz[cython]
> /build/reproducible-path/compyle-0.8.1/compyle/tests/test_array.py:453: DeprecationWarning: `trapz` is deprecated. Use `trapezoid` instead, or one of the numerical integration functions in `scipy.integrate`.
> assert(array.trapz(y, x,) == np.trapz(yn, xn))
>
> compyle/tests/test_array.py::test_trapz[cython]
> /build/reproducible-path/compyle-0.8.1/compyle/tests/test_array.py:454: DeprecationWarning: `trapz` is deprecated. Use `trapezoid` instead, or one of the numerical integration functions in `scipy.integrate`.
> assert(array.trapz(y, dx=3) == np.trapz(yn, dx=3))
>
> compyle/tests/test_cython_generator.py: 7 warnings
> compyle/tests/test_low_level.py: 3 warnings
> /build/reproducible-path/compyle-0.8.1/compyle/cython_generator.py:129: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
> if not isinstance(arg0, ast.Str):
>
> compyle/tests/test_cython_generator.py::TestCythonCodeGenerator::test_function_with_annotation
> compyle/tests/test_cython_generator.py::TestCythonCodeGenerator::test_method_with_declare
> compyle/tests/test_cython_generator.py::TestCythonCodeGenerator::test_method_with_declare
> compyle/tests/test_cython_generator.py::TestCythonCodeGenerator::test_method_with_matrix
> compyle/tests/test_cython_generator.py::TestCythonCodeGenerator::test_method_with_matrix
> compyle/tests/test_cython_generator.py::TestCythonCodeGenerator::test_python3_annotation
> compyle/tests/test_low_level.py::TestCython::test_cython_code_with_return_and_nested_call
> compyle/tests/test_low_level.py::TestCython::test_cython_code_with_return_and_nested_call
> compyle/tests/test_low_level.py::TestCython::test_cython_with_externs
> /build/reproducible-path/compyle-0.8.1/compyle/cython_generator.py:133: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
> return get_declare_info(arg0.s)
>
> compyle/tests/test_ext_module.py::TestExtModule::test_that_multiple_writes_do_not_occur_for_same_source
> compyle/tests/test_ext_module.py::TestExtModule::test_that_multiple_writes_do_not_occur_for_same_source
> compyle/tests/test_ext_module.py::TestExtModule::test_that_multiple_writes_do_not_occur_for_same_source
> compyle/tests/test_ext_module.py::TestExtModule::test_that_multiple_writes_do_not_occur_for_same_source
> compyle/tests/test_ext_module.py::TestExtModule::test_that_multiple_writes_do_not_occur_for_same_source
> /usr/lib/python3.13/multiprocessing/popen_fork.py:67: DeprecationWarning: This process (pid=109) is multi-threaded, use of fork() may lead to deadlocks in the child.
> self.pid = os.fork()
>
> compyle/tests/test_jit.py::TestAnnotationHelper::test_cast_return_type
> /build/reproducible-path/compyle-0.8.1/compyle/jit.py:211: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
> if not isinstance(node.args[1], ast.Str):
>
> compyle/tests/test_jit.py::TestAnnotationHelper::test_cast_return_type
> /build/reproducible-path/compyle-0.8.1/compyle/jit.py:213: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
> return node.args[1].s
>
> compyle/tests/test_jit.py::TestAnnotationHelper::test_declare_multiple_variables
> compyle/tests/test_jit.py::TestAnnotationHelper::test_variable_as_call_arg
> compyle/tests/test_jit.py::TestAnnotationHelper::test_variable_as_call_arg_nonjit
> /build/reproducible-path/compyle-0.8.1/compyle/jit.py:205: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
> if not isinstance(node.args[0], ast.Str):
>
> compyle/tests/test_jit.py::TestAnnotationHelper::test_declare_multiple_variables
> compyle/tests/test_jit.py::TestAnnotationHelper::test_variable_as_call_arg
> compyle/tests/test_jit.py::TestAnnotationHelper::test_variable_as_call_arg_nonjit
> /build/reproducible-path/compyle-0.8.1/compyle/jit.py:207: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
> type_str = node.args[0].s
>
> compyle/tests/test_jit.py::TestAnnotationHelper::test_non_jit_call_as_call_arg
> /build/reproducible-path/compyle-0.8.1/compyle/jit.py:202: UserWarning:
> In code in line 5:
>
> return g(sin(a))
> ^
>
>
> Function called is not marked by the annotate decorator. Argument
> type defaulting to 'double'. If the type is not 'double', store
> the value in a variable of appropriate type and use the variable
>
> warnings.warn(msg)
>
> compyle/tests/test_jit.py::TestAnnotationHelper::test_non_jit_call_in_return
> /build/reproducible-path/compyle-0.8.1/compyle/jit.py:202: UserWarning:
> In code in line 5:
>
> return sin(a)
> ^
>
>
> Function called is not marked by the annotate decorator. Argument
> type defaulting to 'double'. If the type is not 'double', store
> the value in a variable of appropriate type and use the variable
>
> warnings.warn(msg)
>
> compyle/tests/test_template.py::test_simple_template
> compyle/tests/test_template.py::test_simple_template
> compyle/tests/test_template.py::test_that_source_code_is_available
> /build/reproducible-path/compyle-0.8.1/compyle/template.py:53: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
> docstring = body[0].value.s if len(body) == 2 else ''
>
> compyle/tests/test_translator.py: 93 warnings
> /build/reproducible-path/compyle-0.8.1/compyle/translator.py:682: DeprecationWarning: Attribute n is deprecated and will be removed in Python 3.14; use value instead
> return str(node.n)
>
> compyle/tests/test_translator.py::test_calling_printf_with_string
> compyle/tests/test_translator.py::test_calling_printf_with_string
> /usr/lib/python3.13/ast.py:428: DeprecationWarning: visit_Str is deprecated; add visit_Constant
> return visitor(node)
>
> compyle/tests/test_translator.py::test_calling_printf_with_string
> compyle/tests/test_translator.py::test_calling_printf_with_string
> /build/reproducible-path/compyle-0.8.1/compyle/translator.py:700: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
> return r'"%s"' % node.s
>
> compyle/tests/test_translator.py::test_simple_function_with_return
> compyle/tests/test_translator.py::test_calling_method_of_known_type_in_method
> compyle/tests/test_translator.py::test_wrapping_class
> compyle/tests/test_translator.py::test_wrapping_class
> compyle/tests/test_translator.py::test_wrapping_class_with_ignore_methods
> /build/reproducible-path/compyle-0.8.1/compyle/translator.py:228: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
> isinstance(body[0].value, ast.Str):
>
> compyle/tests/test_translator.py: 14 warnings
> /build/reproducible-path/compyle-0.8.1/compyle/translator.py:344: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
> if not isinstance(right.args[0], ast.Str):
>
> compyle/tests/test_translator.py: 14 warnings
> /build/reproducible-path/compyle-0.8.1/compyle/translator.py:346: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
> type = right.args[0].s
>
> compyle/tests/test_translator.py::test_bool_true_false_and_none
> compyle/tests/test_translator.py::test_bool_true_false_and_none
> compyle/tests/test_translator.py::test_bool_true_false_and_none
> compyle/tests/test_translator.py::test_bool_true_false_and_none
> /usr/lib/python3.13/ast.py:428: DeprecationWarning: visit_NameConstant is deprecated; add visit_Constant
> return visitor(node)
>
> compyle/tests/test_translator.py::test_cast_works
> compyle/tests/test_translator.py::test_cast_works
> /build/reproducible-path/compyle-0.8.1/compyle/translator.py:388: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
> return '(%s) (%s)' % (node.args[1].s, self.visit(node.args[0]))
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info ============================
> FAILED ../../../compyle/tests/test_array.py::test_reserve[opencl] - TypeError...
> FAILED ../../../compyle/tests/test_array.py::test_resize_with_reallocation[opencl]
> FAILED ../../../compyle/tests/test_array.py::test_resize_without_reallocation[opencl]
> FAILED ../../../compyle/tests/test_array.py::test_copy[opencl] - TypeError: _...
> FAILED ../../../compyle/tests/test_array.py::test_append_with_reallocation[opencl]
> FAILED ../../../compyle/tests/test_array.py::test_append_without_reallocation[opencl]
> FAILED ../../../compyle/tests/test_array.py::test_extend[opencl] - TypeError:...
> FAILED ../../../compyle/tests/test_array.py::test_remove[opencl] - TypeError:...
> FAILED ../../../compyle/tests/test_array.py::test_align[opencl] - TypeError: ...
> FAILED ../../../compyle/tests/test_array.py::test_align_multiple[opencl] - Ty...
> FAILED ../../../compyle/tests/test_array.py::test_squeeze[opencl] - TypeError...
> FAILED ../../../compyle/tests/test_array.py::test_copy_values[opencl] - TypeE...
> FAILED ../../../compyle/tests/test_array.py::test_min_max[opencl] - TypeError...
> FAILED ../../../compyle/tests/test_array.py::test_sort_by_keys[opencl] - Type...
> FAILED ../../../compyle/tests/test_array.py::test_sort_by_keys_with_output[opencl]
> FAILED ../../../compyle/tests/test_array.py::test_dot[opencl] - TypeError: __...
> FAILED ../../../compyle/tests/test_array.py::test_cumsum[opencl] - TypeError:...
> FAILED ../../../compyle/tests/test_array.py::test_linspace[opencl] - TypeErro...
> FAILED ../../../compyle/tests/test_array.py::test_diff[int32-opencl] - TypeEr...
> FAILED ../../../compyle/tests/test_array.py::test_diff[float32-opencl] - Type...
> FAILED ../../../compyle/tests/test_array.py::test_diff[float64-opencl] - Type...
> FAILED ../../../compyle/tests/test_array.py::test_trapz[opencl] - TypeError: ...
> FAILED ../../../compyle/tests/test_array.py::test_comparison[__gt__-int32-opencl]
> FAILED ../../../compyle/tests/test_array.py::test_comparison[__gt__-float32-opencl]
> FAILED ../../../compyle/tests/test_array.py::test_comparison[__gt__-float64-opencl]
> FAILED ../../../compyle/tests/test_array.py::test_comparison[__lt__-int32-opencl]
> FAILED ../../../compyle/tests/test_array.py::test_comparison[__lt__-float32-opencl]
> FAILED ../../../compyle/tests/test_array.py::test_comparison[__lt__-float64-opencl]
> FAILED ../../../compyle/tests/test_array.py::test_comparison[__ge__-int32-opencl]
> FAILED ../../../compyle/tests/test_array.py::test_comparison[__ge__-float32-opencl]
> FAILED ../../../compyle/tests/test_array.py::test_comparison[__ge__-float64-opencl]
> FAILED ../../../compyle/tests/test_array.py::test_comparison[__le__-int32-opencl]
> FAILED ../../../compyle/tests/test_array.py::test_comparison[__le__-float32-opencl]
> FAILED ../../../compyle/tests/test_array.py::test_comparison[__le__-float64-opencl]
> FAILED ../../../compyle/tests/test_array.py::test_comparison[__ne__-int32-opencl]
> FAILED ../../../compyle/tests/test_array.py::test_comparison[__ne__-float32-opencl]
> FAILED ../../../compyle/tests/test_array.py::test_comparison[__ne__-float64-opencl]
> FAILED ../../../compyle/tests/test_array.py::test_comparison[__eq__-int32-opencl]
> FAILED ../../../compyle/tests/test_array.py::test_comparison[__eq__-float32-opencl]
> FAILED ../../../compyle/tests/test_array.py::test_comparison[__eq__-float64-opencl]
> FAILED ../../../compyle/tests/test_array.py::test_where[opencl] - TypeError: ...
> FAILED ../../../compyle/tests/test_array.py::test_minimum[opencl-int32] - Typ...
> FAILED ../../../compyle/tests/test_array.py::test_minimum[opencl-float32] - T...
> FAILED ../../../compyle/tests/test_array.py::test_minimum[opencl-float64] - T...
> FAILED ../../../compyle/tests/test_array.py::test_sum[opencl-int32] - TypeErr...
> FAILED ../../../compyle/tests/test_array.py::test_sum[opencl-float32] - TypeE...
> FAILED ../../../compyle/tests/test_array.py::test_sum[opencl-float64] - TypeE...
> FAILED ../../../compyle/tests/test_array.py::test_take_bool[opencl-int32] - T...
> FAILED ../../../compyle/tests/test_array.py::test_take_bool[opencl-float32]
> FAILED ../../../compyle/tests/test_array.py::test_take_bool[opencl-float64]
> FAILED ../../../compyle/tests/test_array.py::test_binary_op[opencl] - TypeErr...
> FAILED ../../../compyle/tests/test_low_level.py::TestKernel::test_kernel_with_local_memory_opencl
> FAILED ../../../compyle/tests/test_low_level.py::TestKernel::test_simple_kernel_opencl
> = 53 failed, 213 passed, 57 skipped, 3 deselected, 1 xfailed, 296 warnings in 221.95s (0:03:41) =
> E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /build/reproducible-path/compyle-0.8.1/.pybuild/cpython3_3.13_compyle/build; python3.13 -m pytest -k "not test_that_multiple_compiles_do_not_occur_for_same_source and not test_const_as_call_arg and not test_const_in_return" --ignore=/build/reproducible-path/compyle-0.8.1/compyle/tests/test_cuda.py --ignore=/build/reproducible-path/compyle-0.8.1/compyle/tests/test_parallel.py /build/reproducible-path/compyle-0.8.1/compyle/tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2025/04/29/compyle_0.8.1-10_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250429;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250429&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the debian-science-maintainers
mailing list