pytorch/c10
Scott Wolchok 505dd319ef [caffe2] Don't evaluate message in CAFFE_ENFORCE_THAT unless the check fails (#106145)
D26829714 improved CAFFE_ENFORCE_THAT, but made us eagerly evaluate the message, which has costs.

Differential Revision: [D47809432](https://our.internmc.facebook.com/intern/diff/D47809432/)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/106145
Approved by: https://github.com/davidberard98
2023-07-28 21:54:07 +00:00
..
benchmark increase clang-tidy coverage to more c10 source files (#102902) 2023-06-04 06:33:01 +00:00
core use performance-unnecessary-value-param in clang-tidy (#102615) 2023-07-28 17:37:03 +00:00
cuda [memory snapshot] track context for segments (#106113) 2023-07-28 06:45:48 +00:00
hip
macros [pytorch] Fix MSVC unexpected tokens following preprocessor directive (#105922) 2023-07-27 06:03:31 +00:00
mobile adjust header inclusions in C10 as sugguested by IWYU (#102467) 2023-05-31 19:19:10 +00:00
test Revert "fix building errors on FreeBSD (#105897)" 2023-07-27 03:01:44 +00:00
util [caffe2] Don't evaluate message in CAFFE_ENFORCE_THAT unless the check fails (#106145) 2023-07-28 21:54:07 +00:00
BUCK.oss remove no-op C10_DISABLE_NUMA preprocessor flag (#98243) 2023-04-06 20:38:10 +00:00
BUILD.bazel remove //c10:headers (#98420) 2023-04-05 19:33:10 +00:00
build.bzl run buildifier on unified build files (#98141) 2023-04-04 00:37:19 +00:00
CMakeLists.txt Enable mimalloc on pytorch Windows (#102595) 2023-06-27 08:53:26 +00:00
ovrsource_defs.bzl remove no-op C10_DISABLE_NUMA preprocessor flag (#98243) 2023-04-06 20:38:10 +00:00