diff options
Diffstat (limited to 'examples/two_eo_per_frame_opt/main.cpp')
-rw-r--r-- | examples/two_eo_per_frame_opt/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/two_eo_per_frame_opt/main.cpp b/examples/two_eo_per_frame_opt/main.cpp index 43310c0..c54b908 100644 --- a/examples/two_eo_per_frame_opt/main.cpp +++ b/examples/two_eo_per_frame_opt/main.cpp | |||
@@ -96,7 +96,9 @@ bool Run(int num_eve, int num_dsp, const char* ref_output) | |||
96 | 96 | ||
97 | // Heap sizes for this network determined using Configuration::showHeapStats | 97 | // Heap sizes for this network determined using Configuration::showHeapStats |
98 | c.PARAM_HEAP_SIZE = (3 << 20); // 3MB | 98 | c.PARAM_HEAP_SIZE = (3 << 20); // 3MB |
99 | c.NETWORK_HEAP_SIZE = (20 << 20); // 20MB | 99 | c.NETWORK_HEAP_SIZE = (34 << 20); // 34MB |
100 | // AM572x default CMEM size is 160MB, 4 EVEs + 2DSPs won't fit | ||
101 | if (num_eve > 2) num_eve = 2; | ||
100 | 102 | ||
101 | // Run this example for 16 input frames | 103 | // Run this example for 16 input frames |
102 | c.numFrames = 16; | 104 | c.numFrames = 16; |