llama.cpp icon indicating copy to clipboard operation
llama.cpp copied to clipboard

SYCL: Fix GGML_SYCL_DEBUG macro

Open qnixsynapse opened this issue 2 days ago • 2 comments

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.

qnixsynapse avatar Feb 21 '25 06:02 qnixsynapse