Commit 267dda818 for llama.cpp

commit 267dda81805f3f8a6489d6068ab6df988d4ffb14
Author: Todd Malsbary <todd.malsbary@intel.com>
Date:   Wed Nov 25 21:40:10 2026 -0800

    sycl: Remove check for host waits in fattn-mkl from graph checks (#31208)

    Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>

diff --git a/ggml/src/ggml-sycl/fattn.cpp b/ggml/src/ggml-sycl/fattn.cpp
index 525e6fd8c..d37e99d9b 100644
--- a/ggml/src/ggml-sycl/fattn.cpp
+++ b/ggml/src/ggml-sycl/fattn.cpp
@@ -416,10 +416,6 @@ bool ggml_sycl_flash_attn_ext_supported(int device, const ggml_tensor * dst) {
     return ggml_sycl_get_best_fattn_kernel(device, dst) != BEST_FATTN_KERNEL_NONE;
 }

-bool ggml_sycl_flash_attn_ext_needs_sync(int device, const ggml_tensor * dst) {
-    return ggml_sycl_get_best_fattn_kernel(device, dst) == BEST_FATTN_KERNEL_MKL;
-}
-
 bool ggml_sycl_flash_attn_ext_uses_onednn(int device, const ggml_tensor * dst) {
     return ggml_sycl_get_best_fattn_kernel(device, dst) == BEST_FATTN_KERNEL_ONEDNN;
 }
diff --git a/ggml/src/ggml-sycl/fattn.hpp b/ggml/src/ggml-sycl/fattn.hpp
index 8ba634223..cfecf8077 100644
--- a/ggml/src/ggml-sycl/fattn.hpp
+++ b/ggml/src/ggml-sycl/fattn.hpp
@@ -19,9 +19,6 @@ void ggml_sycl_flash_attn_ext(ggml_backend_sycl_context & ctx, ggml_tensor * dst

 bool ggml_sycl_flash_attn_ext_supported(int device, const ggml_tensor * dst);

-// Reports if flash attention runs this node with the oneMKL kernel, which waits on the host
-bool ggml_sycl_flash_attn_ext_needs_sync(int device, const ggml_tensor * dst);
-
 // Reports if flash attention runs this node with the oneDNN kernel
 bool ggml_sycl_flash_attn_ext_uses_onednn(int device, const ggml_tensor * dst);

diff --git a/ggml/src/ggml-sycl/ggml-sycl.cpp b/ggml/src/ggml-sycl/ggml-sycl.cpp
index 62e248138..43f31645c 100644
--- a/ggml/src/ggml-sycl/ggml-sycl.cpp
+++ b/ggml/src/ggml-sycl/ggml-sycl.cpp
@@ -7030,11 +7030,6 @@ static bool check_graph_compatibility(ggml_backend_sycl_context * ctx, ggml_cgra
                 }
                 break;
             case GGML_OP_FLASH_ATTN_EXT:
-                if (ggml_sycl_flash_attn_ext_needs_sync(ctx->device, node)) {
-                    GGML_LOG_DEBUG("%s: disabling SYCL graphs due to host wait in %s\n", __func__,
-                                   ggml_op_name(node_op));
-                    return false;
-                }
 #ifndef GGML_SYCL_GRAPH_DNNL_SUPPORTED
                 if (ggml_sycl_flash_attn_ext_uses_onednn(ctx->device, node)) {
                     GGML_LOG_DEBUG("%s: disabling SYCL graphs due to %s using oneDNN\n", __func__,