__ubsan_ignore_signed_int_overflow__ Class — pytorch Architecture
Architecture documentation for the __ubsan_ignore_signed_int_overflow__ class in Pow.h from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/native/Pow.h lines 25–37
template <class T,
std::enable_if_t<std::is_integral_v<T>, T>* = nullptr>
inline HOST_DEVICE __ubsan_ignore_signed_int_overflow__ T powi_impl(T a, T b) {
T result = 1;
while (b) {
if (b & 1) {
result *= a;
}
b /= 2;
a *= a;
}
return result;
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free