mindspore-ai

60 mods across 1 repository, 259 stars between them.

mindspore-ai/akg

Skill Claude CodeCodex

A set of rules for synchronizing CUDA threads in TileLang, especially when they share memory or work together. It explains how to avoid deadlocks, where threads wait forever for one another.

259 23d ago A 62 tokens original Apache-2.0

mindspore-ai/akg

Skill Claude CodeCodex

An optimization pattern for dividing a 2D tensor by values broadcast across rows or columns. It keeps small dimensions together and controls how many processing blocks handle the larger dimension.

259 23d ago A 79 tokens original Apache-2.0

mindspore-ai/akg

Skill Claude CodeCodex

An optimization pattern for 3D broadcast division, where one tensor's values are repeated across selected dimensions. It first expands the repeated values and then reshapes the work into a simpler 2D form.

259 23d ago A 78 tokens original Apache-2.0

mindspore-ai/akg

Skill Claude CodeCodex

An optimization pattern for converting large arrays from int8 numbers to fp16 numbers on Ascend hardware. It splits the work into blocks and smaller tiles so processing can use the available on-chip memory.

259 23d ago A 68 tokens original Apache-2.0

mindspore-ai/akg

Skill Claude CodeCodex

An optimization pattern that combines several slice operations and a concatenation into one kernel. Slicing selects part of a tensor, while concatenation joins those parts together.

259 23d ago A 73 tokens original Apache-2.0

mindspore-ai/akg

Skill Claude CodeCodex

A tuning guide for creating small tensors with operations such as zeros, arange, full, and their variants on Ascend hardware. It shows how to use fewer processing blocks for small shapes.

259 23d ago A 67 tokens original Apache-2.0

mindspore-ai/akg

Skill Claude CodeCodex

An optimization pattern for histogram counting, which records how often each value appears. It sorts the input first, then uses binary search to find each value's range.

259 23d ago A 79 tokens original Apache-2.0

mindspore-ai/akg

Skill Claude CodeCodex

An optimization pattern for indexed assignment, which writes values into positions chosen by index arrays. It loads index data into fast on-chip memory so a loop can reuse it.

259 23d ago A 73 tokens original Apache-2.0

mindspore-ai/akg

Skill Claude CodeCodex

An optimization guide for matrix multiplication where the shared dimension K is much larger than the output dimensions M and N. It splits the K dimension so multiple processor cores can calculate parts of the same output.

259 23d ago A 101 tokens original Apache-2.0

mindspore-ai/akg

Skill Claude CodeCodex

An optimization guide for Triton matrix-multiplication kernels on Ascend processors. Matrix multiplication combines rows and columns of two number grids to produce a third grid.

259 23d ago A 88 tokens original Apache-2.0

mindspore-ai/akg

Skill Claude CodeCodex

An optimization guide for Triton kernels that find maximum values across a very large dimension of a 2D array on an Ascend processor. It targets cases where the other dimension is very small.

259 23d ago A 81 tokens original Apache-2.0

mindspore-ai/akg

Skill Claude CodeCodex

An optimization guide for Triton kernels that compute the maximum value across one dimension of a medium-sized 2D array on an Ascend processor.

259 23d ago A 81 tokens original Apache-2.0

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: