Skip to content

Commit

Permalink
fix old gcc version check (#2904)
Browse files Browse the repository at this point in the history
  • Loading branch information
davebayer authored Nov 20, 2024
1 parent 2e6ed59 commit d80ab66
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ computation(IndexType id, IndexType, Func func, ExtendType, FastDivModArrayType,
**********************************************************************************************************************/

// GCC6/7/8/9 raises unused parameter warning
# if defined(_CCCL_COMPILER_GCC) && _CCCL_GCC_VERSION < 100000
# if _CCCL_COMPILER(GCC, <, 10)
# define _CUB_UNUSED_ATTRIBUTE __attribute__((unused))
# else
# define _CUB_UNUSED_ATTRIBUTE
Expand Down

0 comments on commit d80ab66

Please sign in to comment.