Skip to content

Allow to control SMEM check in warpspeed scan #8028

Closed

Description

@bernhardmgruber

The warpspeed scan implemenation checks whether it can fit the current workload (for the current tuning) into 48KiB SMEM, and if it can't, will fall back to the old scan implementation.

This is undesirable during tuning, because a random tuning may exceed the 48KiB limit and then benchmark the old scan implementation. We should rather fail to compile in this case and skip the tuning values.

A user providing a custom tuning to scan, may want to opt into ignoring the 48KiB SMEM limit, since they are willing to produce a binary that is not compatible with future CUDA architectures for the sake of higher performance. We are already aware of tunings that would yield better performance than the current CUB tuning, but we cannot implement them since a single stage would already exceed 48 KiB SMEM.

We should thus allow to disable the SMEM check or to enforce it without fallback.

Activity

  1. moved this from Todo to In Progress in CCCLon Mar 24, 2026
  2. moved this from In Progress to In Review in CCCLon Mar 30, 2026
  3. added a commit that references this issue on Apr 9, 2026
    cf1a8ef
  4. moved this from In Review to Done in CCCLon Apr 9, 2026
  5. added a commit that references this issue on Apr 19, 2026
    0f37796
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions