fmadd Class — pytorch Architecture
Architecture documentation for the fmadd class in vec256_zarch.h from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/cpu/vec/vec256/zarch/vec256_zarch.h lines 1558–1566
template <>
Vectorized<float> C10_ALWAYS_INLINE fmadd(
const Vectorized<float>& a,
const Vectorized<float>& b,
const Vectorized<float>& c) {
return Vectorized<float>{
__builtin_s390_vfmasb(a.vec0(), b.vec0(), c.vec0()),
__builtin_s390_vfmasb(a.vec1(), b.vec1(), c.vec1())};
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free