Skip to content

When rinning simple_example.py - OverflowError: can't convert negative value to size_t #46

@ivbsd1

Description

@ivbsd1

Hi,

I recently tried to use gpyfft on following setup:
CPU - ARMv7, 32bits
Debian: Linux tinkerboard 4.4.103+ #1 SMP Fri Jun 22 16:14:49 CST 2018 armv7l GNU/Linux
Python 3.5.3
Cython 0.29.15
Pyopencl 2019.1.2

I installed libclfft and build gpyfft in following way:
python3 setup.py build
python3 setup.py install

After that I tried to run simple_example.py from examples directory and I received:
Traceback (most recent call last):
File "simple_example.py", line 13, in
transform = FFT(context, queue, data_gpu, axes = (2, 1))
File "/usr/local/lib/python3.5/dist-packages/gpyfft-0.7.3-py3.5-linux-armv7l.egg/gpyfft/fft.py", line 93, in init
plan = GFFT.create_plan(context, t_shape)
File "gpyfft/gpyfftlib.pyx", line 142, in gpyfft.gpyfftlib.GpyFFT.create_plan
File "gpyfft/gpyfftlib.pyx", line 219, in gpyfft.gpyfftlib.Plan.init
OverflowError: can't convert negative value to size_t

Can you, please, help me to fix this problem ?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions