int_elementwise_binary_512 Class — pytorch Architecture
Architecture documentation for the int_elementwise_binary_512 class in vec512_int.h from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/cpu/vec/vec512/vec512_int.h lines 1360–1373
template <typename T, typename Op>
Vectorized<T> inline int_elementwise_binary_512(
const Vectorized<T>& a,
const Vectorized<T>& b,
Op op) {
T values_a[Vectorized<T>::size()];
T values_b[Vectorized<T>::size()];
a.store(values_a);
b.store(values_b);
for (int i = 0; i != Vectorized<T>::size(); i++) {
values_a[i] = op(values_a[i], values_b[i]);
}
return Vectorized<T>::loadu(values_a);
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free