diff --git a/src/core/impl/comp_node/cpu/comp_node.cpp b/src/core/impl/comp_node/cpu/comp_node.cpp index c63d102d..fe2ff456 100644 --- a/src/core/impl/comp_node/cpu/comp_node.cpp +++ b/src/core/impl/comp_node/cpu/comp_node.cpp @@ -106,13 +106,11 @@ class CpuCompNode::SeqRecorderImpl final : public CompNodeSeqRecorder { std::vector m_tasks; ThreadPool* m_thread_pool = nullptr; const CompNode m_record_compnode; - /*! * \brief use to check the all ther recording tasks are its self CompNode * related task, void hook other CompNode related task to the recorder. */ void check_the_same_comp_node(const CompNode& comp_node) const; - public: SeqRecorderImpl(SeqRecorderImpl** self_pointer, ThreadPool* thread_pool, const CompNode& comp_node) diff --git a/src/core/include/megbrain/comp_node.h b/src/core/include/megbrain/comp_node.h index 434bd12e..e2920f07 100644 --- a/src/core/include/megbrain/comp_node.h +++ b/src/core/include/megbrain/comp_node.h @@ -577,6 +577,7 @@ public: virtual void exit_fake_exec(const CompNode& comp_node) = 0; virtual void stop(const CompNode& comp_node) = 0; + virtual void replay() = 0; };