bh107 / bohrium

Automatic parallelization of Python/NumPy, C, and C++ codes on Linux and MacOSX
http://www.bh107.org
Apache License 2.0
220 stars 31 forks source link

Bohrium crashes when using more than 16 dimensions #623

Open dionhaefner opened 5 years ago

dionhaefner commented 5 years ago

Example:

>>> import bh107
>>> a = bh107.random.rand(*(1,) * 17)
libc++abi.dylib: terminating with uncaught exception of type std::bad_alloc: std::bad_alloc
Abort trap: 6

If this is a fundamental limitation, it should be caught somewhere I guess.