From 31df05a1870662a7288fbaeb6fbc7fc458bb5a73 Mon Sep 17 00:00:00 2001 From: SiCong Li Date: Wed, 9 Nov 2022 15:57:48 +0000 Subject: Remove dynamic fusion prototype with tests and examples Public headers of the new experimental dynamic fusion can be found in arm_compute/dynamic_fusion/ New examples on how to use the interface can be found in tests/validation/dynamic_fusion/gpu/Integration.cpp Resolves COMPMID-5683 Change-Id: I7ccb902a227fb487562df15fc3c30118d1d95bbd Signed-off-by: SiCong Li Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/8671 Reviewed-by: Jakub Sujak Reviewed-by: Gunes Bayir Comments-Addressed: Arm Jenkins Benchmark: Arm Jenkins Tested-by: Arm Jenkins --- arm_compute/runtime/CL/CLScheduler.h | 31 ------------------------------- 1 file changed, 31 deletions(-) (limited to 'arm_compute/runtime/CL/CLScheduler.h') diff --git a/arm_compute/runtime/CL/CLScheduler.h b/arm_compute/runtime/CL/CLScheduler.h index 3919635d1b..3030239270 100644 --- a/arm_compute/runtime/CL/CLScheduler.h +++ b/arm_compute/runtime/CL/CLScheduler.h @@ -35,19 +35,6 @@ #include "arm_compute/runtime/CL/CLTypes.h" #include "arm_compute/runtime/CL/ICLTuner.h" -#if defined(ENABLE_EXPERIMENTAL_DYNAMIC_FUSION) -namespace arm_compute -{ -namespace experimental -{ -namespace dynamic_fusion -{ -struct ClExecutionDescriptor; -} // namespace dynamic_fusion -} // namespace experimental -} // namespace arm_compute -#endif // defined(ENABLE_EXPERIMENTAL_DYNAMIC_FUSION) - namespace arm_compute { class ICLKernel; @@ -108,20 +95,6 @@ public: * @param[in] flush (Optional) Specifies if the command queue will be flushed after running the kernel. This will be ignored if job chaining is enabled. */ void enqueue_op(ICLKernel &kernel, ITensorPack &tensors, bool flush = true); - -#if defined(ENABLE_EXPERIMENTAL_DYNAMIC_FUSION) - - /** Schedule the execution of the passed kernel if possible. - * - * @param[in] kernel Kernel to execute. - * @param[in] tensors Map containing the tensors to operate on. - * @param[in] exec_desc Execution descriptor - * @param[in] flush (Optional) Specifies if the command queue will be flushed after running the kernel. This will be ignored if job chaining is enabled. - */ - void enqueue_op(ICLKernel &kernel, ITensorPack &tensors, const experimental::dynamic_fusion::ClExecutionDescriptor &exec_desc, bool flush = true); - -#endif // defined(ENABLE_EXPERIMENTAL_DYNAMIC_FUSION) - /** Initialises the context and command queue to be used by the scheduler. * * @param[in] context A CL context. @@ -214,10 +187,6 @@ private: */ void flush_queue(bool flush); -#if defined(ENABLE_EXPERIMENTAL_DYNAMIC_FUSION) - void enqueue_common(ICLKernel &kernel, ITensorPack &tensors, const experimental::dynamic_fusion::ClExecutionDescriptor &exec_desc, bool flush); -#endif // defined(ENABLE_EXPERIMENTAL_DYNAMIC_FUSION) - /** Flag to ensure symbols initialisation is happening before Scheduler creation */ static std::once_flag _initialize_symbols; -- cgit v1.2.1