triton-operator-code-gen
Pass
Audited by Gen Agent Trust Hub on Sep 20, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill instructions and reference documents focus purely on the technical task of generating Triton kernel code. The code snippets provided in the templates follow best practices for high-performance computing on NPU hardware, including memory alignment, precision management, and tiling strategies.
- [SAFE]: Hardware information is accessed using standard
torch.npuandtriton.runtime.driverAPIs to optimize kernel execution. This is a common and necessary practice for specialized hardware like NPUs to determine core counts for grid calculation. - [SAFE]: No external network requests, suspicious dependencies, or obfuscation techniques were found in the provided files. The skill correctly instructs the agent to avoid high-level PyTorch abstractions in favor of direct Triton kernel implementations for performance reasons.
Audit Metadata