modify repass max time limit protect

pull/183/head
wangxiaotian22 4 years ago
parent 9ba2dc80f0
commit ada81436ec

@ -26,7 +26,7 @@
namespace ge { namespace ge {
namespace { namespace {
constexpr int kMaxRePassTimes = 1000; constexpr int kMaxRePassTimes = 10000;
constexpr size_t kMaxOneInNodes = 1000; constexpr size_t kMaxOneInNodes = 1000;
// Each iteration, we take about 0.3k memory on the stack, we should change the recursion to loop later // Each iteration, we take about 0.3k memory on the stack, we should change the recursion to loop later
constexpr int kMaxRecursiveDepth = 20; constexpr int kMaxRecursiveDepth = 20;

Loading…
Cancel
Save