File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ cc_library(
3535 "//litert/cc:litert_element_type" ,
3636 "//litert/cc/dynamic_runtime/options:litert_qualcomm_options" ,
3737 "//litert/vendors/qualcomm/core:common" ,
38+ "//litert/vendors/qualcomm/core/utils:log" ,
3839 "@qairt//:qnn_lib_headers" ,
3940 ],
4041)
Original file line number Diff line number Diff line change 2020#include "litert/cc/litert_element_type.h"
2121#include "litert/cc/options/litert_qualcomm_options.h"
2222#include "litert/vendors/qualcomm/core/common.h"
23+ #include "litert/vendors/qualcomm/core/utils/log.h"
2324#include "QnnCommon.h" // from @qairt
2425#include "QnnInterface.h" // from @qairt
2526#include "QnnTypes.h" // from @qairt
@@ -104,6 +105,7 @@ inline LiteRtStatus InitQnnOptions(
104105 litert ::qualcomm ::QualcommOptions & qualcomm_options ) {
105106 qnn_options .SetLogLevel (
106107 static_cast < ::qnn ::LogLevel > (qualcomm_options .GetLogLevel ()));
108+ ::qnn ::QNNLogger ::SetLogLevel (qnn_options .GetLogLevel ());
107109 qnn_options .SetProfiling (
108110 static_cast < ::qnn ::Profiling > (qualcomm_options .GetProfiling ()));
109111 qnn_options .SetUseHtpPreference (qualcomm_options .GetUseHtpPreference ());
You can’t perform that action at this time.
0 commit comments