Skip to content

Commit

Permalink
fix old gcc version check (NVIDIA#2904)
Browse files Browse the repository at this point in the history
  • Loading branch information
davebayer authored and trxcllnt committed Nov 23, 2024
1 parent 820a362 commit b04fef5
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 b04fef5

Please sign in to comment.