CUDA: refactor FA support/selection code (#15454)

This commit is contained in:
Johannes Gäßler
2025-08-20 23:14:14 +02:00
committed by GitHub
parent 7a6e91ad26
commit 13aeb7aef2
4 changed files with 165 additions and 111 deletions

View File

@@ -1,3 +1,5 @@
#include "common.cuh"
void ggml_cuda_flash_attn_ext(ggml_backend_cuda_context & ctx, ggml_tensor * dst);
bool ggml_cuda_flash_attn_ext_supported(int device, const ggml_tensor * dst);