ggml-sycl: sort includes

This commit is contained in:
Akarshan Biswas 2025-02-03 10:01:07 +05:30
parent 6eb30d9403
commit 539b0c662e
No known key found for this signature in database
GPG key ID: 52A578A14B32134D
3 changed files with 7 additions and 11 deletions

View file

@ -9,9 +9,6 @@
#include "ggml.h"
#include "ggml-backend.h"
#define GGML_SYCL_NAME "SYCL"
#define GGML_SYCL_MAX_DEVICES 48
#ifdef __cplusplus
extern "C" {
#endif

View file

@ -17,7 +17,6 @@
#include <iostream>
#include "dpct/helper.hpp"
#include "ggml-sycl.h"
#include "presets.hpp"
#if GGML_SYCL_DNNL
#include "dnnl.hpp"
@ -31,6 +30,9 @@
#pragma clang diagnostic ignored "-Wnested-anon-types"
#include "ggml-common.h"
#pragma clang diagnostic pop
#include <sycl/half_type.hpp>
#include <sycl/sycl.hpp>
#include "ggml-backend-impl.h"
#include "ggml-impl.h"
#include "ggml.h"
@ -88,6 +90,9 @@ extern int g_ggml_sycl_debug;
#define GGML_SYCL_MMV_Y 1
#endif
#define GGML_SYCL_NAME "SYCL"
#define GGML_SYCL_MAX_DEVICES 48
typedef sycl::queue *queue_ptr;
enum ggml_sycl_backend_gpu_mode {

View file

@ -29,15 +29,9 @@
#include <stdlib.h>
#include <regex>
#include <sycl/sycl.hpp>
#include <sycl/half_type.hpp>
#include "ggml-sycl.h"
#include "ggml-impl.h"
#include "ggml-backend-impl.h"
#include "common.hpp"
#include "ggml-sycl/backend.hpp"
#include "ggml-sycl/presets.hpp"
#include "ggml-sycl/gemm.hpp"
static bool g_sycl_loaded = false;