pytorch/c10/core
cyy 3907f36808 Turn some variables and functions into static (#136847)
Re-check some files and mark variables and functions into static and fix other warnings.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/136847
Approved by: https://github.com/ezyang
2024-10-29 17:01:56 +00:00
..
impl [2/N] Fix Wextra-semi warnings (#139142) 2024-10-29 08:14:37 +00:00
alignment.h [8/N] Fixes clang-tidy warnings in c10/{core,util}/*.h (#116082) 2023-12-20 12:22:21 +00:00
Allocator.cpp Turn some variables and functions into static (#136847) 2024-10-29 17:01:56 +00:00
Allocator.h [1/N] Enable cppcoreguidelines-special-member-functions (#137405) 2024-10-23 00:16:53 +00:00
AutogradState.cpp [Typo] mulithreading_enabled => multithreading_enabled (#97054) 2023-03-21 20:11:59 +00:00
AutogradState.h Initialize view_replay_enabled_ in the AutogradState ctor (#100822) 2023-05-08 18:57:14 +00:00
Backend.h [1/N] Change static functions in headers to inline (#127727) 2024-06-03 04:34:36 +00:00
BUILD.bazel
build.bzl Add function to materialize COW storages (#117053) 2024-01-10 15:34:16 +00:00
CachingDeviceAllocator.h [Reland] Refactor caching device allocator utils (#130923) 2024-09-07 11:14:17 +00:00
CompileTimeFunctionPointer.h [7/N] Fixes clang-tidy warnings in c10/{core,util}/*.h (#115495) 2023-12-19 02:14:30 +00:00
ConstantSymNodeImpl.cpp Add is_nested_int() (#119975) 2024-02-21 21:10:02 +00:00
ConstantSymNodeImpl.h [3/N] Fix Wunused-parameter warnings (#131271) 2024-07-20 23:31:03 +00:00
Contiguity.h Introduce size oblivious guards (#118579) 2024-02-06 19:45:32 +00:00
CopyBytes.cpp
CopyBytes.h [7/N] Fixes clang-tidy warnings in c10/{core,util}/*.h (#115495) 2023-12-19 02:14:30 +00:00
CPUAllocator.cpp [1/N] Enable cppcoreguidelines-special-member-functions (#137405) 2024-10-23 00:16:53 +00:00
CPUAllocator.h [7/N] Fixes clang-tidy warnings in c10/{core,util}/*.h (#115495) 2023-12-19 02:14:30 +00:00
DefaultDtype.cpp
DefaultDtype.h [T153220354] Fix header inclusions in c10 (#1541) (#101846) 2023-05-20 19:35:14 +00:00
DefaultTensorOptions.h [5/N] Fixes clang-tidy warnings in c10/{core,util}/*.h (#115354) 2023-12-09 17:16:04 +00:00
Device.cpp Warn users of mkldnn device usage (#137553) 2024-10-12 13:42:12 +00:00
Device.h rename ort to maia (#123265) 2024-04-23 00:33:25 +00:00
DeviceArray.h std::value/std::type -> std::_v/std::_t (#138746) 2024-10-26 20:59:24 +00:00
DeviceGuard.h [1/N] Enable cppcoreguidelines-special-member-functions (#137405) 2024-10-23 00:16:53 +00:00
DeviceType.cpp [Fix] Check name when registering privateuse1 backend (#134071) 2024-08-27 20:28:30 +00:00
DeviceType.h rename ort to maia (#123265) 2024-04-23 00:33:25 +00:00
DispatchKey.cpp [MPS] Add support for autocast in MPS (#99272) 2024-09-05 23:23:17 +00:00
DispatchKey.h [MPS] Add support for autocast in MPS (#99272) 2024-09-05 23:23:17 +00:00
DispatchKeySet.cpp fix inference mode / PyDispatcher / Functionalize interaction (#103275) 2023-06-21 15:19:55 +00:00
DispatchKeySet.h Eliminate C10_NODISCARD (#138336) 2024-10-19 02:54:06 +00:00
DynamicCast.h Support unsigned int for randint, item, equality, fill, iinfo, tensor (#116805) 2024-01-10 02:17:23 +00:00
Event.h Build device generic torch.Stream and torch.Event based on c10::Stream/Event (#123611) 2024-04-24 20:51:17 +00:00
GeneratorImpl.cpp [2/N] Fix extra warnings brought by clang-tidy-17 (#137459) 2024-10-08 19:05:02 +00:00
GeneratorImpl.h [1/N] Enable cppcoreguidelines-special-member-functions (#137405) 2024-10-23 00:16:53 +00:00
GradMode.cpp cleanup unused include (#93359) 2023-02-04 02:15:50 +00:00
GradMode.h [1/N] Enable cppcoreguidelines-special-member-functions (#137405) 2024-10-23 00:16:53 +00:00
InferenceMode.cpp cleanup unused include (#93359) 2023-02-04 02:15:50 +00:00
InferenceMode.h [1/N] Enable cppcoreguidelines-special-member-functions (#137405) 2024-10-23 00:16:53 +00:00
Layout.h Make SparseCsr a functionality dispatch key (#120703) 2024-03-01 13:28:46 +00:00
MemoryFormat.h [7/N] Fixes clang-tidy warnings in c10/{core,util}/*.h (#115495) 2023-12-19 02:14:30 +00:00
OptionalRef.h
PyHandleCache.h [7/N] Fixes clang-tidy warnings in c10/{core,util}/*.h (#115495) 2023-12-19 02:14:30 +00:00
QEngine.h [7/N] Fixes clang-tidy warnings in c10/{core,util}/*.h (#115495) 2023-12-19 02:14:30 +00:00
QScheme.h [7/N] Fixes clang-tidy warnings in c10/{core,util}/*.h (#115495) 2023-12-19 02:14:30 +00:00
RefcountedDeleter.cpp Reland 2: Add PyObject preservation for UntypedStorage (#109039) 2023-09-12 22:26:05 +00:00
RefcountedDeleter.h [7/N] Fixes clang-tidy warnings in c10/{core,util}/*.h (#115495) 2023-12-19 02:14:30 +00:00
SafePyObject.cpp cleanup unused include (#93359) 2023-02-04 02:15:50 +00:00
SafePyObject.h [1/N] Enable cppcoreguidelines-special-member-functions (#137405) 2024-10-23 00:16:53 +00:00
Scalar.cpp
Scalar.h Revert "Remove C10_DEPRECATED (#138406)" 2024-10-22 18:00:41 +00:00
ScalarType.cpp [reland] Add int1 to int7 dtypes (#137928) 2024-10-18 02:02:08 +00:00
ScalarType.h Revert "Remove C10_DEPRECATED (#138406)" 2024-10-22 18:00:41 +00:00
ScalarTypeToTypeMeta.h [9/N] Replace c10::optional with std::optional (#130674) 2024-07-15 00:48:43 +00:00
Storage.cpp Reland 2: Add PyObject preservation for UntypedStorage (#109039) 2023-09-12 22:26:05 +00:00
Storage.h Enable readability-redundant-smartptr-get in clang-tidy (#116381) 2023-12-26 06:05:15 +00:00
StorageImpl.cpp Turn some variables and functions into static (#136847) 2024-10-29 17:01:56 +00:00
StorageImpl.h [4/N] Fix cppcoreguidelines-special-member-functions warnings (#139027) 2024-10-29 00:18:18 +00:00
Stream.cpp
Stream.h [7/N] Fixes clang-tidy warnings in c10/{core,util}/*.h (#115495) 2023-12-19 02:14:30 +00:00
StreamGuard.h [1/N] Enable cppcoreguidelines-special-member-functions (#137405) 2024-10-23 00:16:53 +00:00
SymbolicShapeMeta.cpp [2/N] Fix extra warnings brought by clang-tidy-17 (#137459) 2024-10-08 19:05:02 +00:00
SymbolicShapeMeta.h [1/N] Enable cppcoreguidelines-special-member-functions (#137405) 2024-10-23 00:16:53 +00:00
SymBool.cpp Remove unused variables (#122496) 2024-03-22 18:04:09 +00:00
SymBool.h Fix Wextra-semi warnings (#139000) 2024-10-28 21:48:51 +00:00
SymFloat.cpp SymFloat: Expose comparison operators in C++ API (#94812) 2023-02-23 05:50:45 +00:00
SymFloat.h Fix Wextra-semi warnings (#139000) 2024-10-28 21:48:51 +00:00
SymInt.cpp [BE] Use __builtin_overflow_sub when available (#117015) 2024-01-10 00:50:09 +00:00
SymInt.h Fix Wextra-semi warnings (#139000) 2024-10-28 21:48:51 +00:00
SymIntArrayRef.cpp
SymIntArrayRef.h [1/N] Change #include <c10/util/Optional.h> to #include <optional> (#128301) 2024-07-08 07:03:53 +00:00
SymNodeImpl.cpp
SymNodeImpl.h Fix Wextra-semi warnings (#139000) 2024-10-28 21:48:51 +00:00
TensorImpl.cpp [5/N] Fix extra warnings brought by clang-tidy-17 (#138403) 2024-10-21 02:59:54 +00:00
TensorImpl.h Fix Wextra-semi warnings (#139000) 2024-10-28 21:48:51 +00:00
TensorOptions.cpp [PyTorch] Redirect c10::optional to std::optional (#101995) 2023-11-30 02:46:41 +00:00
TensorOptions.h Eliminate c10::value_or_else (#138818) 2024-10-25 17:59:01 +00:00
thread_pool.cpp [5/N] Fix extra warnings brought by clang-tidy-17 (#138403) 2024-10-21 02:59:54 +00:00
thread_pool.h [7/N] Fixes clang-tidy warnings in c10/{core,util}/*.h (#115495) 2023-12-19 02:14:30 +00:00
UndefinedTensorImpl.cpp [inductor] fix UndefinedTensorImpl singleton can't export on Windows. (#132326) 2024-08-01 13:37:12 +00:00
UndefinedTensorImpl.h [inductor] fix UndefinedTensorImpl singleton can't export on Windows. (#132326) 2024-08-01 13:37:12 +00:00
WrapDimMinimal.cpp Enable nested namespace check in clang-tidy (#118506) 2024-01-31 00:32:35 +00:00
WrapDimMinimal.h [7/N] Fixes clang-tidy warnings in c10/{core,util}/*.h (#115495) 2023-12-19 02:14:30 +00:00