Skip to content

Commit

Permalink
Update cub for cuda 11.5 compatibility (dmlc#3468)
Browse files Browse the repository at this point in the history
  • Loading branch information
nv-dlasalle authored Nov 3, 2021
1 parent cac25f6 commit f510214
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/array/cuda/dgl_cub.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
// include cub in a safe manner
#define CUB_NS_PREFIX namespace dgl {
#define CUB_NS_POSTFIX }
#define CUB_NS_QUALIFIER ::dgl::cub
#include "cub/cub.cuh"
#undef CUB_NS_QUALIFIER
#undef CUB_NS_POSTFIX
#undef CUB_NS_PREFIX

Expand Down

0 comments on commit f510214

Please sign in to comment.