Giter VIP home page Giter VIP logo

Comments (3)

tongjiaxuan666 avatar tongjiaxuan666 commented on May 31, 2024

请问这个问题是如何解决的呢?我遇到了同样的问题

from zynq-nvdla.

tongjiaxuan666 avatar tongjiaxuan666 commented on May 31, 2024

非常期待你的回复

from zynq-nvdla.

White-Sunday avatar White-Sunday commented on May 31, 2024

这是来自nvdla compiler的报错,我已经在我的环境里解决。希望能对后面遇到这个问题的人产生一点帮助。
我的环境:
硬件:Zynq 7000 AX7Z100(处理器:Arm Cortex-A9 , 32 位的处理器架构, ARMv7-A 指令集体系结构)
操作系统:

$ uname -a
Linux arm 4.19.0-xilinx-v2019.1 #1 SMP PREEMPT Sat Dec 16 10:23:29 UTC 2023 armv7l armv7l armv7l GNU/Linux

内存:仅有703M的物理内存可用,且系统没有启用虚拟内存。

$ free -m -h
              total        used        free      shared  buff/cache   available
Mem:           752M         19M        235M        9.9M        496M        703M
Swap:            0B          0B          0B

经过调试,我发现问题在umd/core/src/compiler/Memory.cpp 82-99中的92 m_base_addr = malloc(poolSize),malloc请求分配的空间太大了,内存不够用,返回0,导致后面的检查过不了报错。

解决方法为,尝试重新设置umd/core/src/compiler/include/priv/Profile.h 里250 -251的大小为:

            m_globalDRAMSize(1LLU << 27),
            m_localDRAMSize(1LLU << 38),

即128MB和256MB(原来是500MB和1GB)。

重新编译你的compiler。

from zynq-nvdla.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.