HostPrivatePool Class — pytorch Architecture
Architecture documentation for the HostPrivatePool class in CachingHostAllocator.h from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/core/CachingHostAllocator.h lines 252–261
template <typename S_, typename E_, typename B_>
struct HostPrivatePool {
explicit HostPrivatePool(c10::MempoolId_t id_) : id(id_) {}
HostPrivatePool(const HostPrivatePool&) = delete;
HostPrivatePool& operator=(const HostPrivatePool&) = delete;
c10::MempoolId_t id;
int use_count{1};
HostBlockPool<S_, E_, B_> blocks;
};
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free