Skip to content

Commit

Permalink
Compatibility with CUDA 11.5 (as suggested by Alexey Romanenko)
Browse files Browse the repository at this point in the history
  • Loading branch information
biochem-fan committed Aug 24, 2021
1 parent 01403f6 commit 980c2a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/acc/cuda/cuda_utils_cub.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
#if(defined(CubLog) && defined(__CUDA_ARCH__) && (__CUDA_ARCH__<= 520)) // Intetionally force a warning for new arch
#undef CubLog
#endif

#define CUB_NS_QUALIFIER ::cub # for compatibility with CUDA 11.5
#include "src/acc/cuda/cub/device/device_radix_sort.cuh"
#include "src/acc/cuda/cub/device/device_reduce.cuh"
#include "src/acc/cuda/cub/device/device_scan.cuh"
Expand Down

0 comments on commit 980c2a6

Please sign in to comment.