Skip to content

Commit

Permalink
SYCL: Add pragma directive to suppress warning spam
Browse files Browse the repository at this point in the history
  • Loading branch information
qnixsynapse committed Dec 15, 2024
1 parent 5ed4403 commit 19ce4b6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ggml/src/ggml-sycl/common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@

#define GGML_COMMON_DECL_SYCL
#define GGML_COMMON_IMPL_SYCL
/* suppress warning spam */
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnested-anon-types"
#include "ggml-common.h"
#pragma clang diagnostic pop

void* ggml_sycl_host_malloc(size_t size);
void ggml_sycl_host_free(void* ptr);
Expand Down

0 comments on commit 19ce4b6

Please sign in to comment.