@@ -859,6 +859,8 @@ public:
859
859
//! The corresponding output ``thread_data`` in those threads will be ``INT_MIN, 0, 0, 2, ..., 124, 126``.
860
860
//! Furthermore the value ``126`` will be stored in ``block_aggregate`` for all threads.
861
861
//!
862
+ //! \note ``initial_value`` is not applied to the block-wide aggregate.
863
+ //!
862
864
//! @endrst
863
865
//!
864
866
//! @tparam ScanOp
@@ -872,7 +874,9 @@ public:
872
874
//!
873
875
//! @param[in] initial_value
874
876
//! @rst
875
- //! Initial value to seed the exclusive scan (and is assigned to ``output[0]`` in *thread*\ :sub:`0`)
877
+ //! Initial value to seed the exclusive scan (and is assigned to ``output[0]`` in *thread*\ :sub:`0`). It is not
878
+ //! taken into account for ``block_aggregate``.
879
+ //!
876
880
//! @endrst
877
881
//!
878
882
//! @param[in] scan_op
@@ -1117,6 +1121,8 @@ public:
1117
1121
//! ``{ [INT_MIN,0,0,2], [2,4,4,6], ..., [506,508,508,510] }``.
1118
1122
//! Furthermore the value ``510`` will be stored in ``block_aggregate`` for all threads.
1119
1123
//!
1124
+ //! \note ``initial_value`` is not applied to the block-wide aggregate.
1125
+ //!
1120
1126
//! @endrst
1121
1127
//!
1122
1128
//! @tparam ITEMS_PER_THREAD
@@ -1133,7 +1139,8 @@ public:
1133
1139
//!
1134
1140
//! @param[in] initial_value
1135
1141
//! @rst
1136
- //! Initial value to seed the exclusive scan (and is assigned to `output[0]` in *thread*\ :sub:`0`)
1142
+ //! Initial value to seed the exclusive scan (and is assigned to `output[0]` in *thread*\ :sub:`0`). It is not taken
1143
+ //! into account for ``block_aggregate``.
1137
1144
//! @endrst
1138
1145
//!
1139
1146
//! @param[in] scan_op
@@ -2405,6 +2412,8 @@ public:
2405
2412
//!
2406
2413
//! The value ``126`` will be stored in ``block_aggregate`` for all threads.
2407
2414
//!
2415
+ //! \note ``initial_value`` is not applied to the block-wide aggregate.
2416
+ //!
2408
2417
//! @endrst
2409
2418
//!
2410
2419
//! @tparam ITEMS_PER_THREAD
@@ -2421,7 +2430,7 @@ public:
2421
2430
//!
2422
2431
//! @param[in] initial_value
2423
2432
//! Initial value to seed the inclusive scan (uniform across block). It is not taken
2424
- //! into account for block_aggregate.
2433
+ //! into account for `` block_aggregate`` .
2425
2434
//!
2426
2435
//! @param[in] scan_op
2427
2436
//! Binary scan functor
0 commit comments