From c8cc4a9c6b6062f6cd1a1a1ca57005439bd7e317 Mon Sep 17 00:00:00 2001 From: Yongjoo Ahn Date: Wed, 17 Apr 2024 14:37:16 +0900 Subject: [PATCH] [ncnn] Use g_message for accl log This patch makes ssat test (grep "accl = gpu" string) works. Signed-off-by: Yongjoo Ahn --- ext/nnstreamer/tensor_filter/tensor_filter_ncnn.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/nnstreamer/tensor_filter/tensor_filter_ncnn.cc b/ext/nnstreamer/tensor_filter/tensor_filter_ncnn.cc index 1b2fd05..e6e5e81 100644 --- a/ext/nnstreamer/tensor_filter/tensor_filter_ncnn.cc +++ b/ext/nnstreamer/tensor_filter/tensor_filter_ncnn.cc @@ -180,7 +180,7 @@ ncnn_subplugin::configure_instance (const GstTensorFilterProperties *prop) if (std::find (prop->hw_list, prop->hw_list + prop->num_hw, ACCL_GPU) != (prop->hw_list + prop->num_hw)) { net.opt.use_vulkan_compute = true; - nns_logi ("accl = gpu\n"); + g_message ("accl = gpu\n"); } else { net.opt.use_vulkan_compute = false; } -- 2.7.4