SYCL: Fix GGML_SYCL_DEBUG macro (#11995)
This commit is contained in:
parent
7ad0779f5d
commit
8303e8b0fb
3 changed files with 6 additions and 2 deletions
|
@ -35,7 +35,7 @@
|
|||
void* ggml_sycl_host_malloc(size_t size);
|
||||
void ggml_sycl_host_free(void* ptr);
|
||||
|
||||
static int g_ggml_sycl_debug = 0;
|
||||
extern int g_ggml_sycl_debug;
|
||||
#define GGML_SYCL_DEBUG(...) \
|
||||
do { \
|
||||
if (g_ggml_sycl_debug) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue