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
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.

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

2 participants