From 1f98dff7a9960fb66b7dbdbce8ff96bd84a7c636 Mon Sep 17 00:00:00 2001 From: Jared Van Bortel Date: Mon, 29 Jan 2024 14:16:56 -0500 Subject: [PATCH] fix trailing whitespace --- ggml-kompute.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml-kompute.cpp b/ggml-kompute.cpp index bfc9d96f6..0d9956377 100644 --- a/ggml-kompute.cpp +++ b/ggml-kompute.cpp @@ -1897,7 +1897,7 @@ ggml_backend_buffer_type_t ggml_backend_kompute_buffer_type(int device) { return vec; }(); - auto it = std::find_if(bufts.begin(), bufts.end(), [device](const ggml_backend_buffer_type & t) { + auto it = std::find_if(bufts.begin(), bufts.end(), [device](const ggml_backend_buffer_type & t) { return device == static_cast(t.context)->device; }); return it < bufts.end() ? &*it : nullptr;