// // DepthwiseConvExecution.hpp // MNN // // Created by MNN on 2019/01/31. // Copyright © 2018, Alibaba Group Holding Limited // #ifndef DepthwiseConvExecution_hpp #define DepthwiseConvExecution_hpp #include "ConvExecution.hpp" namespace MNN { namespace OpenCL { class DepthwiseConvExecution : public ConvCommonExecution, public CommonExecution { public: DepthwiseConvExecution(const std::vector &inputs, const MNN::Op *op, Backend *backend); DepthwiseConvExecution(std::shared_ptr resource, const Op* op, Backend* backend); virtual ~DepthwiseConvExecution(); virtual ErrorCode onEncode(const std::vector &inputs, const std::vector &outputs) override; virtual bool onClone(Backend* bn, const Op* op, Execution** dst) override; private: std::vector mPaddings{0, 0}; uint32_t mMaxWorkGroupSize; std::vector mGlobalWorkSize{1, 1, 1}; std::vector mLocalWorkSize{1, 1, 1, 1}; }; } // namespace OpenCL } // namespace MNN #endif /* DepthwiseConvExecution_hpp */