[ncnn] Use g_message for accl log
authorYongjoo Ahn <yongjoo1.ahn@samsung.com>
Wed, 17 Apr 2024 05:37:16 +0000 (14:37 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Thu, 18 Apr 2024 04:42:54 +0000 (13:42 +0900)
This patch makes ssat test (grep "accl = gpu" string) works.

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
ext/nnstreamer/tensor_filter/tensor_filter_ncnn.cc

index 1b2fd05..e6e5e81 100644 (file)
@@ -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;
   }