cuBool
cuBool copied to clipboard
Linkage and compilation issues
Hello,
I am experimenting with the library but when I compile my project using the .so file in the python package I get the error: undefined reference to `cuBool_Matrix_EWiseMult'. If I try to compile cuBool from sources I got some errors about limits and CUB. How I can solve this?
Best regards
@95A31 Hi, thank you for your issue and for your interenst to the project.
-
As I understand correctly, you try to use
libcubool.so
bundled within package to link to your project using cuBool.h frommaster
latest source code version. I'am afraid, that won't work, since latest1.2.0
package version was build without EWiseMult (ewisemult) operation. This operation was added later -
Could you tell more information about your environment (nvcc version, gcc version). Our library uses self-bundled CUB version for CUDA SDK 10.1 and earlier. In newer version CUB is part of the SDK, so this may cause a conflict
Hi @EgorOrachyov, you understand correctly. The issue with CUB seems exactly what you are describing. I am using nvcc 11.4 and gcc 11.3.
Hi @EgorOrachyov, you understand correctly. The issue with CUB seems exactly what you are describing. I am using nvcc 11.4 and gcc 11.3.
@95A31 I am afraid, but currently we don't have enough resources and time to support this project. Mentioned issues can be fixed by minor cmake
file modification (do not add cub if cuda 11 or greater) as well as by adding some missing include
files (potentially required, since we have not tested on gcc >8 and newer thrust versions).
By the way, we will notify you in this thread if we get these issues fixed.