wenyi-li/awesome-agent-kernel-skills
Skill Claude CodeCodex
A PyPTO example for applying the GELU activation function element by element to a one-dimensional array. It demonstrates flattening, a hand-written formula without tanh, and operator use.
wenyi-li/awesome-agent-kernel-skills
Skill Claude CodeCodex
A PyPTO example for applying the GELU activation function element by element to a one-dimensional array. It demonstrates flattening, a hand-written formula without tanh, and operator use.
wenyi-li/awesome-agent-kernel-skills
Skill Claude CodeCodex
An example of implementing cross-entropy loss, a calculation commonly used to measure classification errors. It covers multiple inputs, tiled processing, softmax, selecting target values, summing, and producing one scalar result.
wenyi-li/awesome-agent-kernel-skills
Skill Claude CodeCodex
A documented example of 2D matrix multiplication using loop blocking over the M dimension and handling leftover elements. Matrix multiplication combines rows and columns of number grids to produce a new grid.
wenyi-li/awesome-agent-kernel-skills
Skill Claude CodeCodex
A matrix–vector multiplication workaround for cases where K is greater than 65,535. It replaces matrix multiplication with element-by-element multiplication followed by summing.
wenyi-li/awesome-agent-kernel-skills
Skill Claude CodeCodex
A worked example of BatchNorm, a machine-learning step that normalizes values in groups, for three-dimensional data. It demonstrates reducing dimensions, summing across several axes, and copying values across expanded dimensions.
wenyi-li/awesome-agent-kernel-skills
Skill Claude CodeCodex
A PyPTO example showing how LayerNorm normalises values across a two-dimensional input using a loop. LayerNorm is a machine-learning operation that rescales values to help a model process them consistently.
wenyi-li/awesome-agent-kernel-skills
Skill Claude CodeCodex
A small example of summing values along one axis of a three-dimensional array while keeping the original number of dimensions.
wenyi-li/awesome-agent-kernel-skills
Skill Claude CodeCodex
A specialized optimization for 2D broadcast division on Triton, a system for writing GPU computation kernels. It targets cases where one dimension is large and the other is small.
wenyi-li/awesome-agent-kernel-skills
Skill Claude CodeCodex
An optimization example for applying a calculation across a three-dimensional array when values must be broadcast across axes. Broadcasting means reusing smaller input values across a larger shape without copying them manually.
wenyi-li/awesome-agent-kernel-skills
Skill Claude CodeCodex
A performance-tuning skill for converting large arrays from one data type to another, such as int8 to fp16. It uses two levels of splitting to improve use of shared on-chip memory on Ascend hardware.
wenyi-li/awesome-agent-kernel-skills
Skill Claude CodeCodex
A guide to combining slicing and concatenation operations in Triton Ascend kernels, which are GPU programs. It describes loading only needed data and calculating joined indexes without a separate concatenation step.
wenyi-li/awesome-agent-kernel-skills
Skill Claude CodeCodex
An optimization for creating small tensors with zeros, arange, or full in Triton Ascend. Triton Ascend is a programming environment for running tensor operations on Ascend hardware.
At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: