home/categories/framework-internals/huawei-csl-pto-dsl-agent-skills-translate-cpp2py-skill-md
framework-internalsdevelopment

translate-cpp2py

Translate manual PTO-ISA C++ kernels into PTO-DSL Python builders and verification harnesses. Use when converting pto-isa kernel code to ptodsl, generating .pto/.cpp via ptoas, handling manual vs auto sync variants, separating vector vs cube APIs, or adding missing ptodsl API wrappers.

huawei-csl
maintainer
huawei-csl
Updated 3/20/2026
Stars
23
Forks
11
quick start

Installation and usage

Translate manual PTO-ISA C++ kernels into PTO-DSL Python builders and verification harnesses. Use when converting pto-isa kernel code to ptodsl, generating .pto/.cpp via ptoas, handling manual vs auto sync variants, separating vector vs cube APIs, or adding missing ptodsl API wrappers.

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use translate-cpp2py