mv_machine_learning: drop MV_INFERENCE_TARGET_TYPE definition
authorInki Dae <inki.dae@samsung.com>
Mon, 8 May 2023 02:41:15 +0000 (11:41 +0900)
committerKwanghoon Son <k.son@samsung.com>
Wed, 28 Jun 2023 09:51:32 +0000 (18:51 +0900)
[Issue type] : code cleanup
[Version] : 0.28.3

Drop MV_INFERENCE_TARGET_TYPE definition. This definition had been deprecated
two years ago so we don't have to keep this one. Instead of it, new definition
, MV_INFERENCE_TARGET_DEVICE_TYPE is used.

Change-Id: I8f9d3f96e87ea256d6ad9f3df59ca0726156644d
Signed-off-by: Inki Dae <inki.dae@samsung.com>
include/mv_inference.h
media-vision-config.json

index 003248114c91e3b2220a3eeb3b5dd2c96d43676f..1f2e8fb48d14cde95396403d838c020f4ccb37d1 100644 (file)
@@ -119,23 +119,6 @@ extern "C" {
  */
 #define MV_INFERENCE_BACKEND_TYPE "MV_INFERENCE_BACKEND_TYPE"
 
-/**
- * @deprecated Deprecated since 6.0. Use #MV_INFERENCE_TARGET_TYPE instead.
- * @brief Defines #MV_INFERENCE_TARGET_TYPE to set the type used
- *        for device running attribute of the engine configuration.
- * @details Switches between CPU, GPU, or Custom:\n
- *          #MV_INFERENCE_TARGET_CPU (Deprecated),\n
- *          #MV_INFERENCE_TARGET_GPU (Deprecated),\n
- *          #MV_INFERENCE_TARGET_CUSTOM (Deprecated).\n
- *
- *          The default type is CPU.
- *
- * @since_tizen 5.5
- * @see mv_engine_config_set_int_attribute()
- * @see mv_engine_config_get_int_attribute()
- */
-#define MV_INFERENCE_TARGET_TYPE "MV_INFERENCE_TARGET_TYPE"
-
 /**
  * @brief Defines #MV_INFERENCE_TARGET_DEVICE_TYPE to set the type used
  *        for device running attribute of the engine configuration.
index 09afe63b947da855c0c16597d2113fbde1886117..83dc6bd8ed27cdf6af74f2e09bafdcae6ebad1cd 100644 (file)
             "type"  : "integer",
             "value" : 0
         },
-        {
-            "name"  : "MV_INFERENCE_TARGET_TYPE",
-            "type"  : "integer",
-            "value" : 0
-        },
         {
             "name"  : "MV_INFERENCE_TARGET_DEVICE_TYPE",
             "type"  : "integer",