forked from mindspore-Ecosystem/mindspore
!5108 [MS][LITE][Develop]make allocator max size 2G
Merge pull request !5108 from ling/bug
This commit is contained in:
commit
8f3fcb580a
|
@ -72,7 +72,7 @@ class DefaultAllocator : public Allocator {
|
||||||
bool lockFlag = false;
|
bool lockFlag = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
#define MAX_MALLOC_SIZE 500 * 1024 * 1024
|
#define MAX_MALLOC_SIZE (2000 * 1024 * 1024)
|
||||||
|
|
||||||
} // namespace mindspore::lite
|
} // namespace mindspore::lite
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue