diff options
Diffstat (limited to 'examples/graph_vgg16.cpp')
-rw-r--r-- | examples/graph_vgg16.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/examples/graph_vgg16.cpp b/examples/graph_vgg16.cpp index f6996dadd..990040b5e 100644 --- a/examples/graph_vgg16.cpp +++ b/examples/graph_vgg16.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2020 ARM Limited. + * Copyright (c) 2017-2020 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -41,16 +41,6 @@ public: } bool do_setup(int argc, char **argv) override { - // Check if the system has enough RAM to run the example, systems with less than 2GB have - // to hint the API to minimize memory consumption otherwise it'll run out of memory and - // fail throwing the bad_alloc exception - arm_compute::MEMInfo meminfo; - const size_t mem_total = meminfo.get_total_in_kb(); - if(mem_total <= arm_compute::MEMInfo::TWO_GB_IN_KB) - { - arm_compute::MEMInfo::set_policy(arm_compute::MemoryPolicy::MINIMIZE); - } - // Parse arguments cmd_parser.parse(argc, argv); cmd_parser.validate(); |