Cache
Represents the cache information that contains the addresses of a set of tensors.
1 2 3 4 5 6 | struct Cache { int64_t cache_id = -1; // Cache ID. std::vector<uintptr_t> tensor_addrs; // Addresses of tensors in the cache. In the single-process multi-device scenario, the addresses of multiple devices are arranged in sequence. CacheDesc cache_desc; // Cache description. uint8_t reserved[128]; // Reserved. } |
Parent topic: Data Structures