|
|
@@ -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) |
|
|
|