Skip to content

Commit ff41c99

Browse files
committed
Docs: remove useless reference to mode in warp shuffle docs
1 parent 18f8dc3 commit ff41c99

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

crates/cuda_std/src/warp.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,6 @@ pub unsafe fn warp_vote_ballot(mask: u32, predicate: bool) -> u32 {
412412
///
413413
/// # Arguments
414414
///
415-
/// - `mode` dictates how to calculate the target lane that will be used as the source of this thread's returned value.
416415
/// - `mask` dictates what threads will participate in the shuffle, usually [`u32::MAX`] to indicate all threads.
417416
/// - `value` is the value that will be shuffled across the threads. i.e. the value that will be given to the thread
418417
/// that calculates this thread as its target lane.
@@ -455,7 +454,6 @@ pub unsafe fn warp_shuffle_down<T: WarpShuffleValue>(
455454
///
456455
/// # Arguments
457456
///
458-
/// - `mode` dictates how to calculate the target lane that will be used as the source of this thread's returned value.
459457
/// - `mask` dictates what threads will participate in the shuffle, usually [`u32::MAX`] to indicate all threads.
460458
/// - `value` is the value that will be shuffled across the threads. i.e. the value that will be given to the thread
461459
/// that calculates this thread as its target lane.
@@ -498,7 +496,6 @@ pub unsafe fn warp_shuffle_up<T: WarpShuffleValue>(
498496
///
499497
/// # Arguments
500498
///
501-
/// - `mode` dictates how to calculate the target lane that will be used as the source of this thread's returned value.
502499
/// - `mask` dictates what threads will participate in the shuffle, usually [`u32::MAX`] to indicate all threads.
503500
/// - `value` is the value that will be shuffled across the threads. i.e. the value that will be given to the thread
504501
/// that calculates this thread as its target lane.
@@ -541,7 +538,6 @@ pub unsafe fn warp_shuffle_idx<T: WarpShuffleValue>(
541538
///
542539
/// # Arguments
543540
///
544-
/// - `mode` dictates how to calculate the target lane that will be used as the source of this thread's returned value.
545541
/// - `mask` dictates what threads will participate in the shuffle, usually [`u32::MAX`] to indicate all threads.
546542
/// - `value` is the value that will be shuffled across the threads. i.e. the value that will be given to the thread
547543
/// that calculates this thread as its target lane.

0 commit comments

Comments
 (0)