Skip to content

Reduce code size of warpspeed scan kernel #7440

Closed

Description

@bernhardmgruber

The first ~560 something instructions of the warpspeed scan kernel just handle the setup of mbarriers (up into CCTL.IVALL), which is really excessive (the kernel has a total size of ~1800 instructions). I believe there is great potential to reduce this.

I made a few attempts in: https://github.com/bernhardmgruber/cccl/tree/warpspeed_barrer_init. However, while reducing the setup code to 140 instructions, a few runs had small regressions, so I did not integrate the branch.

We should revisit this.

Activity

  1. moved this from Todo to In Progress in CCCLon Apr 14, 2026
  2. moved this from In Progress to In Review in CCCLon Apr 14, 2026
  3. bernhardmgruber commented on Apr 14, 2026

    @bernhardmgruber
    ContributorAuthor

    #8423 reduces the setup code to 142 instructions until CCTL.IVALL and is faster.

  4. moved this from In Review to Done in CCCLon Apr 15, 2026
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