debian/rules binaryignore=/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 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" --
============================= 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:
tags 1104368 + patchBug #1104368 [src:compyle] compyle: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13
tags 1104368 + pendingBug #1104368 [src:compyle] compyle: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 145:20:43 |
| Calls: | 12,089 |
| Calls today: | 2 |
| Files: | 15,000 |
| Messages: | 6,517,497 |