Open guilhermeleobas opened 3 years ago
I think it is rather here: https://github.com/omnisci/omniscidb-internal/blob/ebd3a5f4bec2d5925fc844e01a932f2cdd2eec90/QueryEngine/NativeCodegen.cpp#L1367-L1380 where the scanning for libdevice location should be implemented.
This might be a simple PR. One needs to do the following:
read_libdevice_module
to also check for libdevice in /path/to/cuda/lib/
libdevice.10.bc
is not availableRaising an exception might be a problem for other omnisci products (see image below). An alternative is to force the execution to the CPU when libdevice is unavaiable.
https://github.com/omnisci/omniscidb-internal/blob/ebd3a5f4bec2d5925fc844e01a932f2cdd2eec90/CudaMgr/CudaMgr.cpp#L404-L430