提交 7231257e 编写于 作者: M Megvii Engine Team

fix(imperative/fastrun): fix worksapce limit for cpu compnode

GitOrigin-RevId: 4583ce6d4b2138b5de0d9de98897b5a3aa73b545
上级 a72e0cb5
......@@ -577,7 +577,7 @@ protected:
virtual size_t get_max_reserved_memory() { return 0; }
virtual size_t get_max_used_memory() { return 0; }
virtual size_t get_max_block_size_available() { return 0; }
virtual size_t get_free_mem() { return 0; }
virtual size_t get_free_mem() { return get_mem_status_bytes().second; }
virtual void reset_max_reserved_memory() {}
virtual void reset_max_used_memory() {}
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册