Skip to content

Refactor and improve index_as queries#8406

Merged
davebayer merged 2 commits intoNVIDIA:mainfrom
davebayer:improve_index_queries
Apr 15, 2026
Merged

Refactor and improve index_as queries#8406
davebayer merged 2 commits intoNVIDIA:mainfrom
davebayer:improve_index_queries

Conversation

@davebayer
Copy link
Copy Markdown
Contributor

Follow up to #8394.

@davebayer davebayer requested review from a team as code owners April 14, 2026 09:37
@davebayer davebayer requested a review from caugonnet April 14, 2026 09:37
@davebayer davebayer requested a review from ericniebler April 14, 2026 09:37
@github-project-automation github-project-automation bot moved this to Todo in CCCL Apr 14, 2026
@cccl-authenticator-app cccl-authenticator-app bot moved this from Todo to In Review in CCCL Apr 14, 2026
@davebayer davebayer force-pushed the improve_index_queries branch from 0e5ed4f to 6a5ef56 Compare April 14, 2026 10:27
@github-actions

This comment has been minimized.

@davebayer davebayer force-pushed the improve_index_queries branch from 6a5ef56 to 655211e Compare April 14, 2026 17:38
@github-actions

This comment has been minimized.

@github-actions
Copy link
Copy Markdown
Contributor

🥳 CI Workflow Results

🟩 Finished in 55m 34s: Pass: 100%/108 | Total: 17h 05m | Max: 30m 10s | Hits: 99%/282811

See results here.

template <class _Tp>
[[nodiscard]] _CCCL_DEVICE_API static hierarchy_query_result<_Tp> __call() noexcept
{
return {static_cast<_Tp>(::cuda::ptx::get_sreg_laneid()), 0, 0};
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 would add a todo to check if its worth using PTX here, it might make some compiler optimizations difficult

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.

I will add comment in next PR, thanks

@davebayer davebayer merged commit f00dfa0 into NVIDIA:main Apr 15, 2026
126 of 129 checks passed
@github-project-automation github-project-automation bot moved this from In Review to Done in CCCL Apr 15, 2026
@davebayer davebayer deleted the improve_index_queries branch April 15, 2026 05:29
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.

2 participants