Skip to content

[STF] Replace type_name implementation with cuda::std::__pretty_nameof wrapper#8194

Open
caugonnet wants to merge 2 commits intoNVIDIA:mainfrom
caugonnet:stf_type_name_traits
Open

[STF] Replace type_name implementation with cuda::std::__pretty_nameof wrapper#8194
caugonnet wants to merge 2 commits intoNVIDIA:mainfrom
caugonnet:stf_type_name_traits

Conversation

@caugonnet
Copy link
Contributor

Remove the home-grown PRETTY_FUNCTION parsing in traits.cuh and replace type_name with a thin wrapper around cuda::std::__pretty_nameof(), which is the existing robust CCCL facility for compile-time type name extraction.

Description

closes

Checklist

  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

…wrapper

Remove the home-grown __PRETTY_FUNCTION__ parsing in traits.cuh and replace
type_name<T> with a thin wrapper around cuda::std::__pretty_nameof<T>(),
which is the existing robust CCCL facility for compile-time type name extraction.

Made-with: Cursor
@caugonnet caugonnet self-assigned this Mar 26, 2026
@caugonnet caugonnet requested a review from a team as a code owner March 26, 2026 22:06
@caugonnet caugonnet requested a review from andralex March 26, 2026 22:06
@caugonnet caugonnet added the stf Sequential Task Flow programming model label Mar 26, 2026
@github-project-automation github-project-automation bot moved this to Todo in CCCL Mar 26, 2026
@copy-pr-bot
Copy link
Contributor

copy-pr-bot bot commented Mar 26, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@cccl-authenticator-app cccl-authenticator-app bot moved this from Todo to In Review in CCCL Mar 26, 2026
@caugonnet caugonnet enabled auto-merge (squash) March 26, 2026 22:07
Copy link
Contributor

@andralex andralex left a comment

Choose a reason for hiding this comment

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

Cool! Maybe it's worth removing type_name altogether and using __pretty_nameof as appropriate?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stf Sequential Task Flow programming model

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

2 participants