Skip to content

Properly use an if constexpr to guard segemented CUB algorithms#1067

Merged
cliffburdick merged 2 commits intoNVIDIA:mainfrom
miscco:fix_CUB_segmented_reduce
Oct 14, 2025
Merged

Properly use an if constexpr to guard segemented CUB algorithms#1067
cliffburdick merged 2 commits intoNVIDIA:mainfrom
miscco:fix_CUB_segmented_reduce

Conversation

@miscco
Copy link
Contributor

@miscco miscco commented Oct 13, 2025

We are currently only using a plain if to check whether we can use the segmented algorithms.

However, this breaks, because Data() and IsContiguous() is only defined for tensors

Drive by fix a warning about an uninitialized variable

@cliffburdick
Copy link
Collaborator

/build

1 similar comment
@cliffburdick
Copy link
Collaborator

/build

@cliffburdick cliffburdick merged commit e713250 into NVIDIA:main Oct 14, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants