2 repositorios
Associates a kernel function with a hardware-aware template so generated configurations apply to that specific kernel.
Distinct from Pure Function Kernels: Distinct from Pure Function Kernels: binds kernel functions to hardware templates for configuration generation, not just compiling pure functions.
Explore 2 awesome GitHub repositories matching operating systems & systems programming · Kernel-to-Template Bindings. Refine with filters or upvote what's useful.
TileLang is a Python-embedded domain-specific language compiler that JIT-compiles and autotunes GPU kernels. It uses a tile-based DSL, automatic software pipelining, and parallel autotuning to generate optimized GPU kernels at runtime. It supports tensor core operations with Pythonic syntax, automatic memory management, and thread mapping. The compiler searches over tile sizes, thread counts, and scheduling policies, compiling and benchmarking candidates in parallel to find the fastest kernel. It also caches compiled binaries and tuning results to disk for reuse across sessions. TileLang inc
Binds kernel functions to hardware-aware templates for targeted configuration generation.
gpu.cpp is a lightweight C++ library for executing low-level general-purpose GPU computation across different hardware vendors and operating systems. It functions as a portable GPU wrapper, kernel orchestrator, and tensor management system using the WebGPU specification to abstract device initialization, buffer transfers, and compute shader dispatching. The library provides a framework for defining compute kernels from shader code and managing their asynchronous dispatch and synchronization. It enables the execution of cross-platform compute shaders and the orchestration of GPU tasks through
Maps buffers and tensors to specific indices so a GPU kernel can access them during execution.