Skip to content

Commit 673c80b

Browse files
author
Sudharshan Govindan
committed
Changed fetching of warp threads for ROCM
1 parent e0761ec commit 673c80b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csrc/selective_scan/reverse_scan.cuh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ struct WarpReverseScan {
101101
#ifndef USE_ROCM
102102
#define WARP_THREADS CUB_WARP_THREADS(0)
103103
#else
104-
#define WARP_THREADS HIPCUB_WARP_THREADS
104+
#define WARP_THREADS HIPCUB_DEVICE_WARP_THREADS
105105
#endif
106106
static constexpr bool IS_ARCH_WARP = (LOGICAL_WARP_THREADS == WARP_THREADS);
107107
/// The number of warp scan steps

0 commit comments

Comments
 (0)