You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by zh...@apache.org on 2022/02/05 16:59:49 UTC

[incubator-mxnet] branch master updated: The size of a stack needs to be greather than 4; by default is 8 (#20581)

This is an automated email from the ASF dual-hosted git repository.

zhasheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new 3507db2  The size of a stack needs to be greather than 4; by default is 8 (#20581)
3507db2 is described below

commit 3507db2d90dff1204f8e82266d99a705528c92cf
Author: mozga <ma...@intel.com>
AuthorDate: Sat Feb 5 17:56:30 2022 +0100

    The size of a stack needs to be greather than 4; by default is 8 (#20581)
---
 include/mxnet/tuple.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/mxnet/tuple.h b/include/mxnet/tuple.h
index 9fe30c0..45619c4 100644
--- a/include/mxnet/tuple.h
+++ b/include/mxnet/tuple.h
@@ -387,7 +387,7 @@ class Tuple {
 
  protected:
   // stack cache size
-  static const int kStackCache = 4;
+  static const int kStackCache = 8;
   /*! \brief number of dimension of the tuple */
   int ndim_{0};
   /*! \brief number of cells allocated in data_heap_ */