Home / Class/ hardware_destructive_interference_size Class — pytorch Architecture

hardware_destructive_interference_size Class — pytorch Architecture

Architecture documentation for the hardware_destructive_interference_size class in CachingHostAllocator.h from the pytorch codebase.

Entity Profile

Source Code

aten/src/ATen/core/CachingHostAllocator.h lines 45–49

template <typename B>
struct alignas(hardware_destructive_interference_size) FreeBlockList {
  std::mutex mutex_;
  std::deque<B*> list_;
};

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free