Skip to content

Commit

Permalink
[ROCm] fix for break on nightly whls
Browse files Browse the repository at this point in the history
- Fix the break caused by PR#72854

Please review
CC @jeffdaily @jithunnair-amd

Pull Request resolved: pytorch#73399
  • Loading branch information
pruthvistony authored and pytorchmergebot committed Feb 25, 2022
1 parent fd99944 commit 881a574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aten/src/ATen/cuda/cub.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
#define ROCM_HIPCUB(x) x
#endif

#if !CUB_SUPPORTS_NV_BFLOAT16() || \
#if (!defined(USE_ROCM) && !CUB_SUPPORTS_NV_BFLOAT16()) || \
(defined(USE_ROCM) && ROCM_VERSION >= 40500)

#if !defined(USE_ROCM)
Expand Down

0 comments on commit 881a574

Please sign in to comment.