Pearu Peterson
Pearu Peterson
Some ideas from Slack discussion https://quansight.slack.com/archives/C01CAU0U1FH/p1605529329121500: ``` DEFINE UDTF dbscan FROM '/path/to/dbscan.cpp' WITH (mode='cpu', source='file'); DEFINE UDTF dbscan FROM 'int32 dbscan__cpu_0(Column x, ...) { ... }' WITH (lang='c++', source='text'); ```...
Do we need to (optionally?) allow for separate udtfs for the same function sig for cpu and gpu? - This will depend on whether UDTFs are expected to be CUDA-aware...
https://quansight.slack.com/archives/C9U5ZTWHX/p1605197922270000: Todd has come across a strong use case for being able to zip the output of a udtf to the table they are being run on, assuming a 1:1...
rbc supports a range of omniscdb and numba versions that implement different sets of features. If a particular feature is not available for the given combination of omniscidb/numba versions, rbc...
As in title. See https://github.com/xnd-project/rbc/blob/master/rbc/tests/test_omnisci_array.py for an example.
Currently, ``` @omnisci('i32(i32)') def incr(x): # noqa: F811 return x + 1 print(incr(2)) ``` leads to ``` AttributeError: module 'rpc-client-10mgrtp1' has no attribute 'remotejit' ```
Reproducer: `and_` and `or_` tests in https://github.com/xnd-project/rbc/pull/89 Investigate why?
``` import atexit from rbc.remotejit import RemoteJIT rjit = RemoteJIT() rjit.start_server(background=True) atexit.register(rjit.stop_server) @rjit('c128(c128)') def ret(a): return a ret.target('host') print(ret(1j)) # expecting 1j but getting 6.69...e-312j ```