Files
pytorch/c10/util/Float8_e4m3fnuz.cpp
cyy bfd5ea93e0 Enable clang-tidy on c10/util/Float8*.h (#120573)
This PR clears warnings and enables clang-tidy on c10/util/Float8*.h.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/120573
Approved by: https://github.com/drisspg
2024-06-14 13:47:07 +00:00

11 lines
224 B
C++

#include <c10/macros/Macros.h>
#include <c10/util/Float8_e4m3fnuz.h>
namespace c10 {
static_assert(
std::is_standard_layout_v<Float8_e4m3fnuz>,
"c10::Float8_e4m3fnuz must be standard layout.");
} // namespace c10