Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    V853 AI模型初始化申请大内存失败

    V Series
    1
    2
    305
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      cruise33 LV 6 last edited by

      这是通过nbinfo看量化模型的信息,如下图
      50d23026-b7b9-4212-86a4-1c475f4ca9ba-image.png

      模型内存池需要一次性申请接近150MB 就失败了,如下图
      3b5c2572-74d8-4c63-a653-9e0936974ac6-image.png

      试过用G2D的malloc一次性最大能申请125MB,普通的malloc倒是没有限制。
      请问能否提高这个硬件模块接口的内存申请上限?

      1 Reply Last reply Reply Quote Share 0
      • C
        cruise33 LV 6 last edited by

        硬件模块申请的空间应该都 受宏 ION_HEAP_TYPE_DMA_MASK 控制吧,这个值是16,最高申请128MB,这是平台特定的硬件限制吗,能否再提高呢

        1 Reply Last reply Reply Quote Share 0
        • 1 / 1
        • First post
          Last post

        Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

        行为准则 | 用户协议 | 隐私权政策