andersbll / cudarray

CUDA-based NumPy
MIT License
233 stars 61 forks source link

ValueError: an illegal memory access was encountered #82

Closed ghost closed 3 years ago

ghost commented 3 years ago

Hello mates,

I open an issue to help people having trouble with using ./neural_artistic_style.py

Error: Traceback (most recent call last): File "neural_artistic_style.py", line 137, in run() .... File "cudarray/wrap/array_data.pyx", line 16, in cudarray.wrap.array_data.ArrayData.init File "cudarray/wrap/cudart.pyx", line 12, in cudarray.wrap.cudart.cudaCheck ValueError: an illegal memory access was encountered terminate called after throwing an instance of 'std::runtime_error' what(): ./include/cudarray/common.hpp:95: an illegal memory access was encountered Abandon (core dumped)

---- There is something wrong with "sum" function, I suppose that is an error in reduction.cpp or reduction.py (cython?)

ghost commented 3 years ago

ca.dot, problem too