From: Inki Dae Date: Thu, 4 Feb 2021 01:04:07 +0000 (+0900) Subject: Add SetCLTuner interface X-Git-Tag: submit/tizen/20210422.072212~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6f03c72a2c4cbe80dbe046f98b0c82454c698ccc;p=platform%2Fcore%2Fmultimedia%2Finference-engine-mlapi.git Add SetCLTuner interface Added SetCLTuner interface for CLTuner feature support of inference engine interface framework which has a pure virtual function interface of SetCLTUner function so the interface implementataion is required. Change-Id: Ie20991e6562864bca285383443880367ea00b522 Signed-off-by: Inki Dae --- diff --git a/src/inference_engine_mlapi.cpp b/src/inference_engine_mlapi.cpp index cd3c95a..c11a337 100644 --- a/src/inference_engine_mlapi.cpp +++ b/src/inference_engine_mlapi.cpp @@ -125,6 +125,18 @@ namespace MLAPIImpl return INFERENCE_ENGINE_ERROR_NONE; } + int InferenceMLAPI::SetCLTuner(const inference_engine_cltuner *cltuner) + { + LOGI("ENTER"); + + // TODO. let's wait until CLTuner feature is ready for NNFW tensor + // filter which is a ONERT runtime backend of MLAPI. + + LOGI("LEAVE"); + + return INFERENCE_ENGINE_ERROR_NONE; + } + int InferenceMLAPI::Load(std::vector model_paths, inference_model_format_e model_format) { diff --git a/src/inference_engine_mlapi_private.h b/src/inference_engine_mlapi_private.h index b34cfc8..5f9fa32 100644 --- a/src/inference_engine_mlapi_private.h +++ b/src/inference_engine_mlapi_private.h @@ -45,6 +45,8 @@ namespace MLAPIImpl int SetTargetDevices(int types) override; + int SetCLTuner(const inference_engine_cltuner *cltuner) final; + int Load(std::vector model_paths, inference_model_format_e model_format) override;