Guilherme Leobas
Guilherme Leobas
the functionality provided in rbc.externals should be thoroughly tested using RemoteJIT, not RemoteOmnisci. Although, there can be a couple of tests that would use RemoteOmnisci. _Originally posted by @pearu on...
These imports have global effect (in the sense that they all exists in `sys.modules`), so I suggest moving these imports out of these method definitions. In fact, we could do...
Numba has a set of classes that implements the calling convention. Currently, RBC uses the [CPU calling convention](https://github.com/numba/numba/blob/3ad1d914c95883ee4e4fa1175e9afdc0fe9ad31c/numba/core/callconv.py#L326-L340) (default) which does the following transformation ```python # From () # To...
We might choose some functions to implement in this first step and implement the rest as needed
```python @omnisci(sig, fastmath=True/False) def foo(*args): .... ````
The following code fails ```python @omnisci('T(T)', T=['int8', 'int16', 'int32', 'int64']) def add(x): return x + 1 @omnisci('T(T)', T=['int8', 'int16', 'int32', 'int64']) def fn(x): return add(x) _, result = omni.sql_execute('select add(i4)...
[Black](https://github.com/psf/black) forces the same code formatting which means no more _fix flake8_ commits.
```python In [1]: import rbc In [2]: rbc.typesystem.Type('int32[]') Out[2]: Type('int32[]',) In [3]: at = rbc.typesystem.Type('int32[]') In [4]: import numba In [5]: rt = numba.int32[:] In [6]: rt(at) ``` The code...
When generating llvm IR, does numba generates assembly code? if so, we need to be able to disable it since rbc only needs LLVM IR. This might speedup things a...
gufuncs have a restriction where the pattern `out = gufunc(arg1, arg2, ..., argN)` is not supported: ```python from numba import guvectorize import numpy as np @guvectorize('(n),(n) -> (n)') def add(a,...