Skip to content

Put the job index on grid.x in the sampled template fit - #10

Merged
zerozole merged 1 commit into
mainfrom
tfs-grid-axes
Sep 20, 2026
Merged

zerozole merged 1 commit into
mainfrom
tfs-grid-axes

Conversation

@zerozole

Copy link
Copy Markdown
Collaborator

ScoreKernel was launched with the template on x and the job on y. gridDim.y is capped at 65,535, and the job count is curves times candidate periods, so a batch of about 262 curves at 250 periods each failed the launch with an invalid configuration argument. The template count is a bank size and stays far below the cap, so the two axes swap. gridDim.x allows 2^31-1.

ScoreKernel was launched with the template on x and the job on y.
gridDim.y is capped at 65,535, and the job count is curves times
candidate periods, so a batch of about 262 curves at 250 periods each
failed the launch with an invalid configuration argument. The template
count is a bank size and stays far below the cap, so the two axes
swap. gridDim.x allows 2^31-1.

No change to what is computed: each block still handles the same
(job, template) pair and writes the same slot in best.
@zerozole
zerozole merged commit dc442c4 into main Sep 20, 2026
10 of 12 checks 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.

1 participant