Open zhouxzh opened 3 years ago
If, as the message suggests, you add #define THRUST_IGNORE_CUB_VERSION_CHECK
above the cub-includes here
https://github.com/spirit-code/spirit/blob/14ed7782bd23f4828bf23ab8136ae31a21037bb3/core/include/engine/Backend_par.hpp#L7-L9
and here
https://github.com/spirit-code/spirit/blob/14ed7782bd23f4828bf23ab8136ae31a21037bb3/core/src/engine/Vectormath.cu#L15-L18
does it compile fine again?
@MSallermann I suppose the better fix would be to exclude cub in cmake if the cuda-version is >= 11.0 (?which version exactly introduced cub?) and at some point support for older cuda-versions could be dropped.
When I compile the code with cuda-11.4, I got the following error massage. But I could correctly compile the code with cuda-10.0.
Ubuntu 20.04, gcc 9.3.0 cuda-11.4 Geforce 2080