llama.cpp
llama.cpp copied to clipboard
SYCL: Fix GGML_SYCL_DEBUG macro
Originally, this work was part of #11515. Currently this macro doesn't work on files other than ggml-sycl.cpp because of a variable g_ggml_sycl_debug
which gets initialized as a local variable only on ggml-sycl.cpp.
This change enables the macro on other files.
I have also added debug logs to softmax OP function which I removed it then because of the mentioned issue.