We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e72637 commit 3f6ec0bCopy full SHA for 3f6ec0b
cub/cub/device/dispatch/dispatch_radix_sort.cuh
@@ -1153,8 +1153,8 @@ public:
1153
return __invoke_single_tile(kernel_source.RadixSortSingleTileKernel(), policy.single_tile);
1154
}
1155
1156
-#if _CCCL_COMPILER(GCC, <, 8)
1157
- // gcc 7 fails to use `policy` in a constant expression, so we just compute it again inplace
+#if _CCCL_COMPILER(GCC, <, 10)
+ // gcc 7-9 fail to use `policy` in a constant expression, so we just compute it again inplace
1158
if CUB_DETAIL_CONSTEXPR_ISH (PolicyGetter{}().use_onesweep)
1159
#else // _CCCL_COMPILER(GCC, <, 8)
1160
if CUB_DETAIL_CONSTEXPR_ISH (policy.use_onesweep)
0 commit comments