catlass-operator-code-gen

Generate op_host, op_kernel, and test_aclnn scaffolds from CATLASS design documents.

31|1|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/Ascend/agent-skills --skill catlass-operator-code-gen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: catlass-operator-code-gen
Source: https://github.com/Ascend/agent-skills/tree/main/skills/catlass-operator-code-gen
Command: npx skills add https://github.com/Ascend/agent-skills --skill catlass-operator-code-gen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generates boilerplate and scaffolding for CATLASS-based operators directly from design docs, accelerating delivery of op_host, op_kernel, and test_aclnn boilerplate.

Core Features & Use Cases

  • Auto-generate op_host, op_kernel, and test_aclnn scaffolds from CATLASS design documents.
  • Enforce design-doc conformance and provide an initial workspace/tiling configuration.
  • Suitable for rapid bootstrapping of CATLASS operators in typical development workflows.

Quick Start

Provide the CATLASS design document path and run the generator to scaffold op_host, op_kernel, and test_aclnn boilerplate.

Frequently Asked Questions about catlass-operator-code-gen

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate operator scaffolding from a CATLASS design document?

To generate operator scaffolding from a CATLASS design document, you provide the document path to the generator to automatically bootstrap op_host, op_kernel, and test_aclnn boilerplate. This automates design-document-driven code scaffolding and workspace initialization for operator delivery.

What is CATLASS operator code generation used for?

CATLASS operator code generation is used to automate the creation of boilerplate artifacts like op_host, op_kernel, and test_aclnn from design documents. It accelerates typical operator development workflows by enforcing design-doc conformance and providing an initial tiling configuration.

Can I automatically generate test_aclnn boilerplate for CATLASS operators?

Yes, you can automatically generate test_aclnn boilerplate for CATLASS operators. The generator reads your CATLASS design document and scaffolds the test_aclnn code alongside the op_host and op_kernel components to ensure basic conformance checks are in place.

How do I set up the initial workspace and tiling configuration for a CATLASS operator?

To set up the initial workspace and tiling configuration for a CATLASS operator, run the generator with your CATLASS design document path. It enforces design-doc conformance and outputs the required op_host and op_kernel scaffolds with the initial configuration included.

Does CATLASS code generation enforce design document conformance?

Yes, CATLASS code generation enforces design document conformance by automatically validating the input design doc and scaffolding the op_host, op_kernel, and test_aclnn boilerplate to match the specified operator design requirements.