pytorch/c10/util
Lance Ware fdd25f82c9 Update to replace AT_ERROR with TORCH_CHECK (#52711)
Summary:
Fixes #{52699}

Pull Request resolved: https://github.com/pytorch/pytorch/pull/52711

Reviewed By: ailzhang

Differential Revision: D26654677

Pulled By: malfet

fbshipit-source-id: 97079250d144c9b1c69028f35e4a23a34481b2a5
2021-02-25 19:51:29 -08:00
..
accumulate.h Generalize sum_intlist and prod_intlist, clean up dimensionality functions (#50495) 2021-01-19 22:35:55 -08:00
AlignOf.h
Array.cpp
Array.h Remove c++14-conditional constexpr (#30916) 2020-01-07 16:40:11 -08:00
ArrayRef.h Minor doc improvement(?) on ArrayRef::slice (#50541) 2021-01-14 18:09:34 -08:00
Backtrace.cpp Reorganize and refine the Windows.h import in C++ files (#48009) 2020-11-20 14:21:09 -08:00
Backtrace.h Canonicalize includes in c10, and add tests for it (#36299) 2020-04-10 12:07:52 -07:00
BFloat16-inl.h torch.reciprocal: promote integer inputs to float (#49102) 2020-12-18 16:17:30 -08:00
BFloat16-math.h Add division overload with rounding_mode selection (#51706) 2021-02-04 13:08:36 -08:00
BFloat16.h Fix compiler warning for MathConstants.h (#52123) 2021-02-17 22:08:03 -08:00
Bitset.h [c10/**] Fix typos (#49815) 2021-01-01 02:11:56 -08:00
C++17.cpp
C++17.h Reorganize and refine the Windows.h import in C++ files (#48009) 2020-11-20 14:21:09 -08:00
complex_math.cpp Fix complex acos edge cases (#52287) 2021-02-17 11:36:09 -08:00
complex_math.h Fix complex acos edge cases (#52287) 2021-02-17 11:36:09 -08:00
complex_utils.h Rename is_complex_t -> is_complex (#39906) 2020-09-01 21:04:19 -07:00
complex.h [c10/**] Fix typos (#49815) 2021-01-01 02:11:56 -08:00
ConstexprCrc.h Remove C++11 compatibility from c10::util::crc64_t (#30920) 2019-12-15 23:43:02 -08:00
Deprecated.h [c10] remove warning attribute does not apply to any entity (#34018) 2020-03-06 09:47:10 -08:00
either.h Fix either::map naming (#33904) 2020-04-13 20:53:28 -07:00
Exception.cpp [PyTorch] Sync TORCH_INTERNAL_ASSERT optis with TORCH_CHECK (#52226) 2021-02-19 12:45:40 -08:00
Exception.h [PyTorch] Sync TORCH_INTERNAL_ASSERT optis with TORCH_CHECK (#52226) 2021-02-19 12:45:40 -08:00
flags_use_gflags.cpp Canonicalize includes in c10, and add tests for it (#36299) 2020-04-10 12:07:52 -07:00
flags_use_no_gflags.cpp Canonicalize includes in c10, and add tests for it (#36299) 2020-04-10 12:07:52 -07:00
Flags.h [c10/**] Fix typos (#49815) 2021-01-01 02:11:56 -08:00
flat_hash_map.h
FunctionRef.h inlining a function that i noticed were hot during previous benchmarking (#50848) 2021-02-10 18:12:47 -08:00
Half-inl.h Add division overload with rounding_mode selection (#51706) 2021-02-04 13:08:36 -08:00
Half.cpp
Half.h Make conversions explicit (#46835) 2020-11-02 13:54:00 -08:00
hash.h Hashing logic for c10::complex (#51441) 2021-02-01 15:56:44 -08:00
IdWrapper.h
in_place.h
intrusive_ptr.cpp
intrusive_ptr.h [PyTorch] Store Tensor explicitly in IValue (#48824) 2021-01-06 08:40:47 -08:00
irange.h Use c10::irange for great good (#52153) 2021-02-24 18:43:50 -08:00
LeftRight.cpp
LeftRight.h Remove memory ordering from LeftRight (#31026) 2020-01-08 08:59:30 -08:00
llvmMathExtras.h Fix implicit conversion (#46833) 2020-10-29 10:22:37 -07:00
logging_is_google_glog.h [pytorch] Route default warning sync to LOG(WARNING) - second try (#36984) 2020-04-23 01:08:00 -07:00
logging_is_not_google_glog.h Move GLOG_ constants into c10 namespace (#41504) 2020-07-15 21:56:00 -07:00
Logging.cpp [c10] Take advantage of c10::str optis for simple CAFFE_ENFORCE (#52223) 2021-02-19 12:45:35 -08:00
Logging.h [c10] Take advantage of c10::str optis for simple CAFFE_ENFORCE (#52223) 2021-02-19 12:45:35 -08:00
math_compat.h Implement igammac (3rd PR) (#48171) 2020-11-18 23:44:32 -08:00
MathConstants.cpp [BE] Replace M_PI with c10::pi constexpr variable (#50819) 2021-01-22 15:15:31 -08:00
MathConstants.h [BE] Replace M_PI with c10::pi constexpr variable (#50819) 2021-01-22 15:15:31 -08:00
Metaprogramming.cpp
Metaprogramming.h Plumbing dispatch keys through the dispatcher (#49354) 2021-02-08 11:09:51 -08:00
numa.cpp Canonicalize includes in c10, and add tests for it (#36299) 2020-04-10 12:07:52 -07:00
numa.h
Optional.cpp fix move default not compile correctly on cuda92 (#48257) 2020-12-01 14:23:20 -08:00
Optional.h Fix errata (#49903) 2020-12-28 20:40:41 -08:00
order_preserving_flat_hash_map.h Replace c10::guts::stuff with std::stuff (#30915) 2019-12-16 13:57:19 -08:00
python_stub.h
qint8.h [pytorch] add missing host-device attribute to fix clang build (#37358) 2020-04-27 18:24:20 -07:00
qint32.h [pytorch] add missing host-device attribute to fix clang build (#37358) 2020-04-27 18:24:20 -07:00
quint4x2.h [quant] creating quint4x2 dtype for quantized tensors (#44678) 2020-10-01 23:53:34 -07:00
quint8.h Fix misleading doc string in quint8.h (#48418) 2020-11-25 20:48:39 -08:00
Registry.h Canonicalize includes in c10, and add tests for it (#36299) 2020-04-10 12:07:52 -07:00
reverse_iterator.h Simplify code with decltype(auto) (#30922) 2020-05-11 21:31:18 -07:00
SmallVector.cpp
SmallVector.h [c10/**] Fix typos (#49815) 2021-01-01 02:11:56 -08:00
sparse_bitset.h Canonicalize includes in c10, and add tests for it (#36299) 2020-04-10 12:07:52 -07:00
string_utils.h Add better device idx parse checks (#37376) 2020-05-14 09:07:12 -07:00
string_view.h Remove c++14-conditional constexpr (#30916) 2020-01-07 16:40:11 -08:00
StringUtil.cpp Implement optimization bisect (#49031) 2021-01-11 12:25:28 -08:00
StringUtil.h [PyTorch] Make c10::str(const char*) return const char* (#52222) 2021-02-19 12:43:03 -08:00
tempfile.h Update to replace AT_ERROR with TORCH_CHECK (#52711) 2021-02-25 19:51:29 -08:00
thread_name.cpp Canonicalize includes in c10, and add tests for it (#36299) 2020-04-10 12:07:52 -07:00
thread_name.h Canonicalize includes in c10, and add tests for it (#36299) 2020-04-10 12:07:52 -07:00
ThreadLocalDebugInfo.cpp [PyTorch] Return raw ptr from ThreadLocalDebugInfo::get() (#47796) 2020-11-18 20:37:17 -08:00
ThreadLocalDebugInfo.h [DI] create a new key for threadLocalDebugInfo (#48762) 2020-12-04 15:05:45 -08:00
Type.cpp Canonicalize includes in c10, and add tests for it (#36299) 2020-04-10 12:07:52 -07:00
Type.h Canonicalize includes in c10, and add tests for it (#36299) 2020-04-10 12:07:52 -07:00
TypeCast.h [c10/**] Fix typos (#49815) 2021-01-01 02:11:56 -08:00
typeid.cpp [c10/**] Fix typos (#49815) 2021-01-01 02:11:56 -08:00
typeid.h [Take-2] [PyTorch Mobile] 15KiB size reduction by reducing MaxTypeIndex from 256 to 32 (#52466) 2021-02-21 23:49:48 -08:00
TypeIndex.h Fix nvcc function signature causing assert in TypeIndex.h (#49778) 2021-01-19 15:25:32 -08:00
TypeList.cpp
TypeList.h Plumbing dispatch keys through the dispatcher (#49354) 2021-02-08 11:09:51 -08:00
TypeTraits.cpp
TypeTraits.h [JIT] pickle serialization for custom bound classes 2020-01-28 11:02:59 -08:00
Unicode.cpp Use Unicode friendly API in fused kernel related code (#49781) 2021-01-10 20:03:00 -08:00
Unicode.h Use Unicode friendly API in fused kernel related code (#49781) 2021-01-10 20:03:00 -08:00
UniqueVoidPtr.cpp
UniqueVoidPtr.h Renaming CAFFE2_API to TORCH_API (#49496) 2020-12-18 10:54:50 -08:00
variant.h Workaround for CUDA10.2.89 CUDA extension compilation error (#33230) 2020-02-12 14:23:30 -08:00
win32-headers.h Reorganize and refine the Windows.h import in C++ files (#48009) 2020-11-20 14:21:09 -08:00