CUB is included in the CUDA 11 standard library, so cmake and autoconf should check the CUDA version to avoid using the local CUB headers if the CUDA version is 11 or greater.
This pull request adds the checks to cmake and autoconf and also adds CI tests for both CUDA 10 and 11.
CUB is included in the CUDA 11 standard library, so cmake and autoconf should check the CUDA version to avoid using the local CUB headers if the CUDA version is 11 or greater.
This pull request adds the checks to cmake and autoconf and also adds CI tests for both CUDA 10 and 11.