For the best viewing experience please switch to the commit-by-commit view.
Version bump because of the following incoherence with numpy:
>>> import numpy as np
>>> np.hstack([])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<__array_function__ internals>", line 180, in hstack
File "/home/kgk2/projects/ceesd/miniforge3/envs/ceesd/lib/python3.8/site-packages/numpy/core/shape_base.py", line 345, in hstack
return _nx.concatenate(arrs, 1)
File "<__array_function__ internals>", line 180, in concatenate
ValueError: need at least one array to concatenate
need at least one array to concatenate
import pyopencl.array as cla
cla.hstack([])
Traceback (most recent call last):
File "", line 1, in
File "/home/kgk2/projects/ceesd/pyopencl/pyopencl/array.py", line 2700, in hstack
return empty(queue, (), dtype=np.float64)
File "/home/kgk2/projects/ceesd/pyopencl/pyopencl/array.py", line 580, in init
self.base_data = cl.Buffer(
TypeError: init(): incompatible constructor arguments. The following argument types are supported:
need at least one array to concatenate
Invoked with: None, 1, 8
init(): incompatible constructor arguments. The following argument types are supported:
Invoked with: None, 1, 8