diff options
author | Freddie Liardet <frederick.liardet@arm.com> | 2021-08-04 10:11:17 +0100 |
---|---|---|
committer | frederick.liardet <frederick.liardet@arm.com> | 2021-08-04 16:16:11 +0000 |
commit | 3f74389bf771274162dc5e6fd87bbfa2d38ea667 (patch) | |
tree | 9431e4230905559dd5f7abf9729e6947cb28f79e /arm_compute | |
parent | 0f6ca4b83999ef00588fb713e25d5efe98936166 (diff) | |
download | ComputeLibrary-3f74389bf771274162dc5e6fd87bbfa2d38ea667.tar.gz |
Remove 21.08 deprecated code
Also correct some deprecation macros
Signed-off-by: Freddie Liardet <frederick.liardet@arm.com>
Change-Id: Ib28d42571f55d7b01563a0877b92b8f3128831ba
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6036
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute')
-rw-r--r-- | arm_compute/runtime/CL/CLTuner.h | 36 | ||||
-rw-r--r-- | arm_compute/runtime/CL/functions/CLRemap.h | 4 | ||||
-rw-r--r-- | arm_compute/runtime/NEON/functions/NERemap.h | 2 |
3 files changed, 3 insertions, 39 deletions
diff --git a/arm_compute/runtime/CL/CLTuner.h b/arm_compute/runtime/CL/CLTuner.h index f1bae3f8dc..f96edc962b 100644 --- a/arm_compute/runtime/CL/CLTuner.h +++ b/arm_compute/runtime/CL/CLTuner.h @@ -75,24 +75,6 @@ public: */ void set_tuner_mode(CLTunerMode mode); - /** Get the current OpenCL tuner mode - * - * @return tuner_mode Indicates how exhaustive the search for the optimal tuning parameters should be while tuning - * - * @deprecated This function is deprecated and is intended to be removed in 21.08 release - */ - CLTunerMode get_tuner_mode() const; - - /** Manually add a LWS for a kernel - * - * @param[in] kernel_id Unique identifiant of the kernel - * @param[in] optimal_lws Optimal local workgroup size to use for the given kernel - * - * @deprecated This function is deprecated and is intended to be removed in 21.08 release - */ - ARM_COMPUTE_DEPRECATED_REL_REPLACE(21.02, add_tuning_params) - void add_lws_to_table(const std::string &kernel_id, cl::NDRange optimal_lws); - /** Manually add tuning parameters for a kernel * * @param[in] kernel_id Unique identifiant of the kernel @@ -100,30 +82,12 @@ public: */ void add_tuning_params(const std::string &kernel_id, CLTuningParams optimal_tuning_params); - /** Import LWS table - * - * @param[in] lws_table The unordered_map container to import - * - * @deprecated This function is deprecated and is intended to be removed in 21.08 release - */ - ARM_COMPUTE_DEPRECATED_REL_REPLACE(21.02, import_tuning_params) - void import_lws_table(const std::unordered_map<std::string, cl::NDRange> &lws_table); - /** Import tuning parameters table * * @param[in] tuning_params_table The unordered_map container to import */ void import_tuning_params(const std::unordered_map<std::string, CLTuningParams> &tuning_params_table); - /** Give read access to the LWS table - * - * @return The lws table as unordered_map container - * - * @deprecated This function is deprecated and is intended to be removed in 21.08 release - */ - ARM_COMPUTE_DEPRECATED_REL_REPLACE(21.02, tuning_params_table) - const std::unordered_map<std::string, cl::NDRange> &lws_table(); - /** Give read access to the tuning params table * * @return The tuning params table as unordered_map container diff --git a/arm_compute/runtime/CL/functions/CLRemap.h b/arm_compute/runtime/CL/functions/CLRemap.h index 8322f7a8a9..ae75817d0e 100644 --- a/arm_compute/runtime/CL/functions/CLRemap.h +++ b/arm_compute/runtime/CL/functions/CLRemap.h @@ -68,7 +68,7 @@ public: * @deprecated This function is deprecated and is intended to be removed in 22.02 release * */ - ARM_COMPUTE_DEPRECATED_REL(22.02) + ARM_COMPUTE_DEPRECATED_REL(21.08) void configure(const CLCompileContext &compile_context, ICLTensor *input, const ICLTensor *map_x, const ICLTensor *map_y, ICLTensor *output, InterpolationPolicy policy, BorderMode border_mode, uint8_t constant_border_value = 0); @@ -80,7 +80,7 @@ public: * @deprecated This function is deprecated and is intended to be removed in 22.02 release * */ - ARM_COMPUTE_DEPRECATED_REL(22.02) + ARM_COMPUTE_DEPRECATED_REL(21.08) void configure(ICLTensor *input, const ICLTensor *map_x, const ICLTensor *map_y, ICLTensor *output, InterpolationPolicy policy, BorderMode border_mode, uint8_t constant_border_value = 0); diff --git a/arm_compute/runtime/NEON/functions/NERemap.h b/arm_compute/runtime/NEON/functions/NERemap.h index 140c20bd2f..5d50517b01 100644 --- a/arm_compute/runtime/NEON/functions/NERemap.h +++ b/arm_compute/runtime/NEON/functions/NERemap.h @@ -62,7 +62,7 @@ public: * @deprecated This function is deprecated and is intended to be removed in 22.02 release * */ - ARM_COMPUTE_DEPRECATED_REL(22.02) + ARM_COMPUTE_DEPRECATED_REL(21.08) void configure(ITensor *input, const ITensor *map_x, const ITensor *map_y, ITensor *output, InterpolationPolicy policy, BorderMode border_mode, uint8_t constant_border_value = 0); /** Initialise the function's sources, destination, interpolation policy and border mode. |