mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-10-28 08:31:25 +00:00
SYCL: Add pragma directive to suppress warning spam
This commit is contained in:
@@ -26,7 +26,11 @@
|
|||||||
|
|
||||||
#define GGML_COMMON_DECL_SYCL
|
#define GGML_COMMON_DECL_SYCL
|
||||||
#define GGML_COMMON_IMPL_SYCL
|
#define GGML_COMMON_IMPL_SYCL
|
||||||
|
/* suppress warning spam */
|
||||||
|
#pragma clang diagnostic push
|
||||||
|
#pragma clang diagnostic ignored "-Wnested-anon-types"
|
||||||
#include "ggml-common.h"
|
#include "ggml-common.h"
|
||||||
|
#pragma clang diagnostic pop
|
||||||
|
|
||||||
void* ggml_sycl_host_malloc(size_t size);
|
void* ggml_sycl_host_malloc(size_t size);
|
||||||
void ggml_sycl_host_free(void* ptr);
|
void ggml_sycl_host_free(void* ptr);
|
||||||
|
|||||||
Reference in New Issue
Block a user