提交 74b1d300 编写于 作者: M Megvii Engine Team

refactor(mgb/core): temporarily disable memory swap opt

GitOrigin-RevId: 6f8e87a2d5cc9ff0d333889daaba2c1e07f87f5a
上级 19652768
......@@ -22,10 +22,12 @@
#define MGB_ENABLE_SUBLINEAR ((!MGB_BUILD_SLIM_SERVING) && (!!MGB_HAVE_THREAD))
#endif // MGB_ENABLE_SUBLINEAR
// FIXME: reopen when rewriting memory swap or existing tests are passed
#define MGB_ENABLE_MEMORY_SWAP 0
#ifndef MGB_ENABLE_MEMORY_SWAP
#define MGB_ENABLE_MEMORY_SWAP \
((!MGB_BUILD_SLIM_SERVING) && (!!MGB_HAVE_THREAD) && (MGB_CUDA))
#endif
#endif // MGB_ENABLE_MEMORY_SWAP
#ifndef MGB_ENABLE_PARTIAL_EXECUTION
#define MGB_ENABLE_PARTIAL_EXECUTION (!MGB_BUILD_SLIM_SERVING)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册