diff options
Diffstat (limited to 'arm_compute/runtime/CL')
-rw-r--r-- | arm_compute/runtime/CL/CLScheduler.h | 31 | ||||
-rw-r--r-- | arm_compute/runtime/CL/CLTuner.h | 4 | ||||
-rw-r--r-- | arm_compute/runtime/CL/ICLTuner.h | 18 |
3 files changed, 0 insertions, 53 deletions
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; diff --git a/arm_compute/runtime/CL/CLTuner.h b/arm_compute/runtime/CL/CLTuner.h index 88933fc2d8..93aa45adc1 100644 --- a/arm_compute/runtime/CL/CLTuner.h +++ b/arm_compute/runtime/CL/CLTuner.h @@ -124,10 +124,6 @@ public: void tune_kernel_static(ICLKernel &kernel) override; void tune_kernel_dynamic(ICLKernel &kernel) override; void tune_kernel_dynamic(ICLKernel &kernel, ITensorPack &tensors) override; -#if defined(ENABLE_EXPERIMENTAL_DYNAMIC_FUSION) - void tune_kernel_dynamic(ICLKernel &kernel, ITensorPack &tensors, const experimental::dynamic_fusion::ClExecutionDescriptor &exec_desc) override; -#endif // defined(ENABLE_EXPERIMENTAL_DYNAMIC_FUSION) - /** Is the kernel_event set ? * * @return true if the kernel_event is set. diff --git a/arm_compute/runtime/CL/ICLTuner.h b/arm_compute/runtime/CL/ICLTuner.h index e0ee3ffe71..fa7a1424b8 100644 --- a/arm_compute/runtime/CL/ICLTuner.h +++ b/arm_compute/runtime/CL/ICLTuner.h @@ -30,15 +30,6 @@ namespace arm_compute { class ICLKernel; -#if defined(ENABLE_EXPERIMENTAL_DYNAMIC_FUSION) -namespace experimental -{ -namespace dynamic_fusion -{ -struct ClExecutionDescriptor; -} // namespace dynamic_fusion -} // namespace experimental -#endif // defined(ENABLE_EXPERIMENTAL_DYNAMIC_FUSION) /** Basic interface for tuning the OpenCL kernels */ class ICLTuner { @@ -66,15 +57,6 @@ public: * @param[in, out] tensors Tensors for the kernel to use */ virtual void tune_kernel_dynamic(ICLKernel &kernel, ITensorPack &tensors) = 0; -#if defined(ENABLE_EXPERIMENTAL_DYNAMIC_FUSION) - /** Tune OpenCL kernel dynamically for dynamic fusion interface - * - * @param[in] kernel Kernel to tune - * @param[in, out] tensors Tensors for the kernel to use - * @param[in] exec_desc Execution descriptor - */ - virtual void tune_kernel_dynamic(ICLKernel &kernel, ITensorPack &tensors, const experimental::dynamic_fusion::ClExecutionDescriptor &exec_desc) = 0; -#endif // defined(ENABLE_EXPERIMENTAL_DYNAMIC_FUSION) }; } // namespace arm_compute #endif /*ARM_COMPUTE_ICLTUNER_H */ |