昇腾社区首页
中文
注册

Cache

Cache,其中维护了一组tensor的地址

struct Cache {
  int64_t cache_id = -1;                     // Cache的id
  std::vector<uintptr_t> tensor_addrs;       // Cache中各tensor的地址
  CacheDesc cache_desc;                      // Cache描述
  uint8_t reserved[128];                     // 预留
};