Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

fix 'invalid arguments' warp sync error on Volta #155

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions cub/warp/specializations/warp_scan_shfl.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,12 @@ struct WarpScanShfl
{
lane_id = LaneId();
warp_id = 0;
member_mask = 0xffffffffu >> (CUB_WARP_THREADS(PTX_ARCH) - LOGICAL_WARP_THREADS);
member_mask = 0xffffffffu; // involves all non-exited warp threads

if (!IS_ARCH_WARP)
{
warp_id = lane_id / LOGICAL_WARP_THREADS;
lane_id = lane_id % LOGICAL_WARP_THREADS;
member_mask = member_mask << (warp_id * LOGICAL_WARP_THREADS);
}
}

Expand Down