format
This commit is contained in:
parent
b830685378
commit
267af4e75d
1 changed files with 31 additions and 31 deletions
|
@ -63,7 +63,7 @@ static int g_ggml_sycl_debug = 0;
|
||||||
// define for XMX in Intel GPU
|
// define for XMX in Intel GPU
|
||||||
// TODO: currently, it's not used for XMX really.
|
// TODO: currently, it's not used for XMX really.
|
||||||
#if !defined(GGML_SYCL_FORCE_MMQ)
|
#if !defined(GGML_SYCL_FORCE_MMQ)
|
||||||
#define SYCL_USE_XMX
|
#define SYCL_USE_XMX
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// max batch size to use MMQ kernels when tensor cores are available
|
// max batch size to use MMQ kernels when tensor cores are available
|
||||||
|
@ -142,7 +142,7 @@ static int g_all_sycl_device_count = -1;
|
||||||
static bool g_ggml_backend_sycl_buffer_type_initialized = false;
|
static bool g_ggml_backend_sycl_buffer_type_initialized = false;
|
||||||
|
|
||||||
static ggml_sycl_backend_gpu_mode g_ggml_sycl_backend_gpu_mode =
|
static ggml_sycl_backend_gpu_mode g_ggml_sycl_backend_gpu_mode =
|
||||||
SYCL_UNSET_GPU_MODE;
|
SYCL_UNSET_GPU_MODE;
|
||||||
|
|
||||||
static void* g_scratch_buffer = nullptr;
|
static void* g_scratch_buffer = nullptr;
|
||||||
static size_t g_scratch_size = 0; // disabled by default
|
static size_t g_scratch_size = 0; // disabled by default
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue