Skip to content

Preserve C++ template arguments in NCU kernel matches - #211

Merged
yoshifuminakamura merged 1 commit into
developfrom
feature/ncu-plan-template-kernel-match
Sep 15, 2026
Merged

yoshifuminakamura merged 1 commit into
developfrom
feature/ncu-plan-template-kernel-match

Conversation

@yoshifuminakamura

Copy link
Copy Markdown
Collaborator

Summary

  • parse demangled CUDA kernel names with template- and argument-list awareness
  • keep C++ template arguments in generated NCU regex matches while dropping return types and top-level function arguments
  • add a fixture for distinct templated kernels with parenthesized non-type template arguments

Tests

  • python3 -m py_compile scripts/profiling/generate_ncu_plan.py
  • bash scripts/tests/test_ncu_plan_generation.sh
  • shellcheck -S error scripts/tests/test_ncu_plan_generation.sh
  • bash scripts/tests/run_profile_data_shell_tests.sh

Signed-off-by: yoshifuminakamura <nakamura@riken.jp>
@yoshifuminakamura
yoshifuminakamura force-pushed the feature/ncu-plan-template-kernel-match branch from 0cbc6ee to 1e86ec8 Compare September 15, 2026 08:11
@yoshifuminakamura
yoshifuminakamura merged commit e9094cc into develop Sep 15, 2026
9 checks passed
@yoshifuminakamura
yoshifuminakamura deleted the feature/ncu-plan-template-kernel-match branch September 15, 2026 08:23
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.

1 participant