Skip to content

Commit

Permalink
refactor: make QNN log to stderr (sync behavior with llama.cpp)
Browse files Browse the repository at this point in the history
  • Loading branch information
hans00 committed May 3, 2024
1 parent 12d1e3a commit d4d4e97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ggml-qnn/ggml-qnn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1548,7 +1548,7 @@ static void ggml_qnn_log_internal(ggml_log_level level, const char * file, const
#if (defined __ANDROID__) || (defined ANDROID)
__android_log_print(level, "KANTV", "%s", s_ggml_qnn_log_internal_buf); //TODO:modify to llama.cpp before submit to upstream
#else
printf("%s", s_ggml_qnn_log_internal_buf); //Qualcomm's QNN could running on Window over ARM
fputs(s_ggml_qnn_log_internal_buf, stderr);
#endif
}
va_end(args);
Expand Down

0 comments on commit d4d4e97

Please sign in to comment.