diff options
Diffstat (limited to 'examples/one_eo_per_frame/main.cpp')
-rw-r--r-- | examples/one_eo_per_frame/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/one_eo_per_frame/main.cpp b/examples/one_eo_per_frame/main.cpp index c8000d1..2665bb6 100644 --- a/examples/one_eo_per_frame/main.cpp +++ b/examples/one_eo_per_frame/main.cpp | |||
@@ -101,6 +101,8 @@ bool Run(const string& config_file, int num_eve, int num_dsp, | |||
101 | // Heap sizes for this network determined using Configuration::showHeapStats | 101 | // Heap sizes for this network determined using Configuration::showHeapStats |
102 | c.PARAM_HEAP_SIZE = (3 << 20); // 3MB | 102 | c.PARAM_HEAP_SIZE = (3 << 20); // 3MB |
103 | c.NETWORK_HEAP_SIZE = (34 << 20); // 34MB | 103 | c.NETWORK_HEAP_SIZE = (34 << 20); // 34MB |
104 | // AM572x default CMEM size is 160MB, 4 EVEs + 2DSPs won't fit | ||
105 | if (num_eve > 2) num_eve = 2; | ||
104 | 106 | ||
105 | c.numFrames = 16; | 107 | c.numFrames = 16; |
106 | 108 | ||