Skip to content

Conversation

@Aminsed
Copy link

@Aminsed Aminsed commented Oct 12, 2025

* Replace %.*s format specifier with explicit loop
* Remove unused delim variable

The printf format %.*s with dynamic width does not work correctly
in CUDA device code, causing literal %.*s to appear in output.

Fixes NVIDIA#2496
@Aminsed
Copy link
Author

Aminsed commented Oct 13, 2025

Thanks @ccecka !

@Aminsed Aminsed requested a review from ccecka October 13, 2025 19:15
@Aminsed
Copy link
Author

Aminsed commented Oct 19, 2025

@ccecka @hwu36 @Junkai-Wu could we merge?

@github-actions
Copy link

This PR has been labeled inactive-30d due to no recent activity in the past 30 days. Please close this PR if it is no longer required. Otherwise, please respond with a comment indicating any updates. This PR will be labeled inactive-90d if there is no activity in the next 60 days.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] The print_layout function failed to format the output correctly.

2 participants