File size: 1,355 Bytes
5c49704 7bc770c 5c49704 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | ---
license: apache-2.0
tags:
- cuda
- gpu-optimization
- kernels
- gemm
- hpc
---
# PyC CUDA kernel lab
This repository documents 19 CUDA kernel-lab entries from PyC. It is a source
and evidence release, not a compiled binary distribution and not a claim that
all entries are wired into PyC runtime dispatch.
## Contents
- `kernels/prototypes/`: standalone CUDA prototype sources.
- `manifests/lab_kernels.json`: the 19-entry lab catalog, including build/run commands.
- `manifests/registry_kernels.json`: the catalog mirrored into the registry release.
- `PERFORMANCE_SUMMARY.md`: selected H100 campaign measurements and the optimization progression.
## Optimization themes
The progression covers shared-memory tiling, WMMA Tensor Core execution, BF16
versus FP16, `cp.async` double buffering, CTA shape, K-stage depth, warp work
assignment, and cuBLASLt as a hardware-library ceiling/control.
Performance numbers are campaign-specific measurements. They should be read
with the GPU, CUDA toolchain, matrix shape, correctness mode, and timing method
from the accompanying evidence; they are not universal benchmarks.
## Reproduce
The commands in `manifests/kernels.json` use `{nvcc}`, `{source}`, and
`{build_dir}` placeholders. Replace them with a CUDA 12.x toolchain, a suitable
Hopper or Ada GPU, and a local build directory before running.
|