Papers & Citations
This page lists the academic papers and open-source projects that inform the design and implementation of TensorCraft-HPC. We encourage users to read the original papers for deeper understanding.
How to read these citations
Use this page as an annotation layer, not just a bibliography. Each citation matters for one of three reasons:
- it explains a kernel strategy adopted in the repository
- it defines the production baseline used for performance comparison
- it shows where TensorCraft-HPC intentionally stays simpler for clarity
When evaluating the project, read the cited paper or library page, then compare that source to the corresponding TensorCraft-HPC page. The point is not to claim parity with every production system. The point is to show how the repository turns those ideas into a legible learning and evaluation surface.
GEMM Optimization
Foundational Papers
CUTLASS: CUDA Templates for Linear Algebra Subroutines
The primary reference for Tensor Core programming patterns. TensorCraft-HPC's GEMM implementation follows CUTLASS's tiled and pipeline strategies.
cuBLAS Documentation
The baseline for performance comparison. All GEMM benchmarks report relative performance to cuBLAS.
Tensor Core Programming
Tensor Core Programming Guide
Essential reading for understanding WMMA (Warp Matrix Multiply-Accumulate) operations.
Attention Mechanisms
FlashAttention
NeurIPS 2022
arXiv:2205.14135 | GitHub
The foundational paper on memory-efficient attention. TensorCraft-HPC implements the tiling strategy described in this paper.
ICLR 2024
arXiv:2307.08691
Improved parallelism strategies for attention computation.
RoPE (Rotary Position Embedding)
Normalization
RMSNorm is the normalization layer used in LLaMA and many modern LLMs.
Quantization
The paper defining the E4M3 and E5M2 FP8 formats used in Hopper architecture.
Sparse Operations
Ampere architecture supports 2:4 structured sparsity for 2x throughput improvement.
Related Projects
| Project | Description | License |
|---|---|---|
| CUTLASS | CUDA Templates for Linear Algebra | BSD-3 |
| FlashAttention | Memory-efficient attention | BSD-3 |
| xFormers | Facebook's attention kernels | BSD-3 |
| Triton | OpenAI's GPU programming language | MIT |
| cuDNN | NVIDIA Deep Learning library | Proprietary |
Comparison framing
These references should not be read as a flat list of endorsements. They form a comparison frame:
- CUTLASS and cuBLAS represent the production-performance ceiling that makes GEMM claims meaningful
- FlashAttention represents algorithm-plus-systems co-design for attention kernels
- Triton and xFormers show neighboring ways to package or generate GPU kernels
- NVIDIA documentation anchors hardware facts, API expectations, and capability boundaries
That framing is why the whitepaper, evidence pages, and atlas should be read together.
Citing TensorCraft-HPC
If you use TensorCraft-HPC in your research or teaching materials, please cite:
@software{tensorcraft-hpc,
title = {TensorCraft-HPC: Demystifying High-Performance AI Kernels
with Modern C++ and CUDA},
author = {TensorCraft-HPC Contributors},
year = {2024},
url = {https://github.com/AICL-Lab/modern-ai-kernels},
note = {Header-only C++/CUDA kernel library for learning}
}