我们邀请您访问并关注我们新的仓库 https://GitHub.com/microsoft/TileFusion。 TiledCUDA 是一款高效的内核模板库,设计
我们邀请您访问并关注我们新的仓库 https://GitHub.com/microsoft/TileFusion。 TiledCUDA 是一款高效的内核模板库,设计
TiledCUDA is a highly efficient kernel template library designed to elevate CUDA C’s level of abstraction for processing tiles. It is designed to be:
TiledCUDA adopts a hardware bottom-up approach by building kernels around the core concept of the BaseTile. The shapes of these BaseTiles align with TensorCore's instruction shape and encapsulate hardware-dependent performance parameters to optimally utilize TensorCore's capabilities. Serving as building blocks, these BaseTiles are then combined to construct larger tiles in both temporal and spatial dimensions, enabling users to process larger tiles composed of BaseTiles for their applications.
[2025/01/28] :bangbang: We have migrated the latest developments and updates of the TiledCUDA project to a new repository. We invite you to visit and follow our new repository at microsoft/TileFusion. For any questions or further assistance, please feel free to reach out to us at the new repository.
[2024/8/30] TiledCUDA supported FlashAttention-v2, FlashAttention-v2 Example.
TiledCUDA implements GlobalTile, SharedTile and RegTile to customize the shape and layout of tiles located in the GPU's three memory hierarchies. Here's an example of a simple GEMM kernel written in TiledCUDA (the complete example can be found in this directory):
(To simplify the demonstration, this example only involves two memory levels: global memory and registers. TiledCUDA also applies a similar concept to shared memory.)
…git clone [email protected]:TiledTensor/TiledCUDA.git
cd TiledCUDA && git submodule update --init --recursiveTiledCUDA requires a C++20 host compiler, CUDA 12.0 or later, and GCC version 10.0 or higher to support C++20 features.
make unit_test UNIT_TEST=test_scatter_nd.py./scripts/unittests/python.shmake unit_test_cpp CPP_UT=test_copymake unit_test_cpps暂无开放 Issues,或尚未同步最近议题。