Skip to content

Test and refactor [Mem|Reg]BoundScaling - #6575

Merged
bernhardmgruber merged 5 commits into
NVIDIA:mainfrom
bernhardmgruber:scaling
Nov 13, 2025
Merged

bernhardmgruber merged 5 commits into
NVIDIA:mainfrom
bernhardmgruber:scaling

Conversation

@bernhardmgruber

@bernhardmgruber bernhardmgruber commented Nov 11, 2025 •

Copy link
Copy Markdown
Contributor

Split out of #6544, works towards #6565

@bernhardmgruber
bernhardmgruber requested a review from a team as a code owner November 11, 2025 08:17
@github-project-automation github-project-automation Bot moved this to Todo in CCCL Nov 11, 2025
@cccl-authenticator-app cccl-authenticator-app Bot moved this from Todo to In Review in CCCL Nov 11, 2025
@bernhardmgruber bernhardmgruber changed the title Test and refactor [Mem|Reg]BoundScaling Test and refactor [Mem|Reg]BoundScaling Nov 11, 2025
Comment on lines +20 to +23
if constexpr (mbs::ITEMS_PER_THREAD != ExpectedItemsPerThread)
{
show<mbs::ITEMS_PER_THREAD>::asdf();
}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was mainly used to get the value from the compiler in case the static assertion below fires, but I thought it may be helpful in the future. Let me know if I should remove it.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: I commonly use a deleted function for that

template<class>
void print() = delete,

The this could be

Suggested change
if constexpr (mbs::ITEMS_PER_THREAD != ExpectedItemsPerThread)
{
show<mbs::ITEMS_PER_THREAD>::asdf();
}
if constexpr (mbs::ITEMS_PER_THREAD != ExpectedItemsPerThread)
{
print<mbs::ITEMS_PER_THREAD>();
}

@github-actions

Copy link
Copy Markdown
Contributor

🥳 CI Workflow Results

🟩 Finished in 5h 04m: Pass: 100%/81 | Total: 4d 16h | Max: 5h 03m | Hits: 65%/73160

See results here.

Comment on lines +20 to +23
if constexpr (mbs::ITEMS_PER_THREAD != ExpectedItemsPerThread)
{
show<mbs::ITEMS_PER_THREAD>::asdf();
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: I commonly use a deleted function for that

template<class>
void print() = delete,

The this could be

Suggested change
if constexpr (mbs::ITEMS_PER_THREAD != ExpectedItemsPerThread)
{
show<mbs::ITEMS_PER_THREAD>::asdf();
}
if constexpr (mbs::ITEMS_PER_THREAD != ExpectedItemsPerThread)
{
print<mbs::ITEMS_PER_THREAD>();
}

@bernhardmgruber
bernhardmgruber merged commit 89aac69 into NVIDIA:main Nov 13, 2025
@bernhardmgruber
bernhardmgruber deleted the scaling branch November 13, 2025 10:16
@github-project-automation github-project-automation Bot moved this from In Review to Done in CCCL Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants