Kernels:
Trusted publisher
| # Copyright (c) 2023-2026, Songlin Yang, Yu Zhang, Zhiyuan Li | |
| # | |
| # This source code is licensed under the MIT license found in the | |
| # LICENSE file in the root directory of this source tree. | |
| # For a list of all contributors, visit: | |
| # https://github.com/fla-org/flash-linear-attention/graphs/contributors | |
| """KDA backends.""" | |
| from ....ops.backends import BackendRegistry, dispatch | |
| from ....ops.kda.backends.flashkda import FlashKDABackend | |
| from ....ops.kda.backends.tilelang import KDATileLangBackend | |
| kda_registry = BackendRegistry("kda") | |
| kda_registry.register(FlashKDABackend()) | |
| kda_registry.register(KDATileLangBackend()) | |
| __all__ = ['dispatch', 'kda_registry'] | |