Skip to content

[Feature Request] Refactor Kernel Cache System for Multiple Backends #1469

@LeiWang1999

Description

@LeiWang1999

Current Situation:
The kernel cache system in Tilelang currently resides in tilelang/cache/kernel_cache.py and uses a series of if-else statements to handle caching for various backends (CUDA, HIP, Metal, CuteDSL, etc.). This approach has become increasingly problematic as we add more backends.

We should refactor and create a maintainable, scalable kernel cache system that can easily accommodate current and future backends without requiring modifications to core cache logic.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions