8000 static memory place · Issue #72 · luoyetx/mini-caffe · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Jul 3, 2025. It is now read-only.
  • This repository was archived by the owner on Jul 3, 2025. It is now read-only.

    static memory place #72

    Open
    Open

    Description

    @LaoYingBu

    你好,我有个问题很困惑:
    [在新的版本中,在网络初始化的时候就规划好blobs_中的blob指针之间的关系,与forward过程中根据blob_life_time_动态回收MemBlock到MemPool中有什么区别啊?我用tools/parse_mem.py的分析结果好像都差不多的啊?

    Activity

    1. luoyetx commented on Apr 27, 2018

      @luoyetx
      Owner

      我自己分析来看也确实差不多 😂

    2. luoyetx commented on Apr 27, 2018

      @luoyetx
      Owner

      静态分配还可以进一步做,将多个 blob 的内存拼接起来组成大内存,在同一块大内存上分配给小 blob,不过这个实现起来比较麻烦,而且不一定有最优解

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      No labels
      No labels

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions

      • 0