Skip to content

Refactor and improve extents_as queries#8394

Merged
davebayer merged 1 commit intoNVIDIA:mainfrom
davebayer:improve_extents_queries
Apr 14, 2026
Merged

Refactor and improve extents_as queries#8394
davebayer merged 1 commit intoNVIDIA:mainfrom
davebayer:improve_extents_queries

Conversation

@davebayer
Copy link
Copy Markdown
Contributor

This PR refactors the extents_as implementation and adds additional support for warp_level queries in a hierarchy and cluster_level queries in a hierarchy when cluster_level is not part of the hierarchy. This change allows us to use queries with hierarchy parameter inside groups implementation.

Partially implements #8310. 2 more PRs will follow with index and rank implementations.

@davebayer davebayer requested review from a team as code owners April 13, 2026 15:59
@davebayer davebayer requested review from caugonnet and griwes April 13, 2026 15:59
@github-project-automation github-project-automation bot moved this to Todo in CCCL Apr 13, 2026
@cccl-authenticator-app cccl-authenticator-app bot moved this from Todo to In Review in CCCL Apr 13, 2026
@github-actions

This comment has been minimized.

@davebayer davebayer force-pushed the improve_extents_queries branch from d222d1f to 799f0c8 Compare April 13, 2026 19:06
@github-actions

This comment has been minimized.

Comment thread libcudacxx/include/cuda/__hierarchy/queries/extents.h Outdated
return ::cuda::__hierarchy_extents_mul(__curr_exts, __next_exts);
}
}
else
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.

I think we can merge if and else if __curr_exts come from a lambda or a helper

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.

It's not that simple, I'd rather keep it as is if you don't mind

@davebayer davebayer force-pushed the improve_extents_queries branch from c07ade6 to 00e7171 Compare April 14, 2026 06:26
@github-actions

This comment has been minimized.

@davebayer davebayer force-pushed the improve_extents_queries branch from 00e7171 to 7ff509b Compare April 14, 2026 07:42
@github-actions
Copy link
Copy Markdown
Contributor

🥳 CI Workflow Results

🟩 Finished in 1h 11m: Pass: 100%/149 | Total: 1d 06h | Max: 45m 51s | Hits: 97%/308759

See results here.

Copy link
Copy Markdown
Contributor

@miscco miscco left a comment

Choose a reason for hiding this comment

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

Looks great from my part

@davebayer davebayer changed the title Refactor and improve extents_as queries for Refactor and improve extents_as queries Apr 14, 2026
@davebayer davebayer merged commit a0a7ac1 into NVIDIA:main Apr 14, 2026
168 of 171 checks passed
@github-project-automation github-project-automation bot moved this from In Review to Done in CCCL Apr 14, 2026
@davebayer davebayer deleted the improve_extents_queries branch April 14, 2026 17:38
jainishmehta pushed a commit to jainishmehta/cccl that referenced this pull request Apr 19, 2026
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.

3 participants