pytorch/c10/core
Yuanyuan Chen f231be25c6 Mark unused parameters in C++ code (#164912)
This PR adds unused parameter name comments in C++ declarations to improve code readability.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/164912
Approved by: https://github.com/Skylion007
2025-10-09 06:23:25 +00:00
..
impl Mark unused parameters in C++ code (#164912) 2025-10-09 06:23:25 +00:00
alignment.h
Allocator.cpp Switch c10::string_view to std::string_view (#139635) 2024-11-27 01:41:18 +00:00
Allocator.h [sigmoid] memory planner C10 deps (#151275) 2025-04-24 01:46:32 +00:00
AllocatorConfig.cpp Revert "Generalize torch._C._set_allocator_settings to be generic (#156175)" (#161626) 2025-08-27 21:37:14 +00:00
AllocatorConfig.h Revert "Generalize torch._C._set_allocator_settings to be generic (#156175)" (#161626) 2025-08-27 21:37:14 +00:00
AutogradState.cpp
AutogradState.h [13/N] Fix extra warnings brought by clang-tidy-17 (#140897) 2024-11-27 00:35:19 +00:00
Backend.h [MPS] coalesce for sparse tensors (#159729) 2025-08-08 13:49:55 +00:00
BUILD.bazel
build.bzl Organize BUCK for torch/standalone (#156503) 2025-06-25 22:56:15 +00:00
CachingDeviceAllocator.cpp Add DeviceAllocator as the base device allocator (#138222) 2025-08-08 17:41:10 +00:00
CachingDeviceAllocator.h Add DeviceAllocator as the base device allocator (#138222) 2025-08-08 17:41:10 +00:00
CompileTimeFunctionPointer.h
ConstantSymNodeImpl.cpp
ConstantSymNodeImpl.h
Contiguity.h symbolic cpp channels_last_contiguous (#160402) 2025-09-05 21:40:32 +00:00
CopyBytes.cpp
CopyBytes.h
CPUAllocator.cpp Mark unused parameters in C++ code (#164912) 2025-10-09 06:23:25 +00:00
CPUAllocator.h Mark unused parameters in C++ code (#164912) 2025-10-09 06:23:25 +00:00
DefaultDtype.cpp
DefaultDtype.h
DefaultTensorOptions.h
Device.cpp [Device] Add support for PrivateUse1 device type in parse_type function (#157609) 2025-07-17 01:27:44 +00:00
Device.h [PyTorch Core] MTIA supports arbitrary strides (#157883) 2025-07-11 18:54:21 +00:00
DeviceArray.h std::value/std::type -> std::_v/std::_t (#138746) 2024-10-26 20:59:24 +00:00
DeviceGuard.h [2/N] Fix clang-tidy readability checks (#164652) 2025-10-06 01:06:01 +00:00
DeviceType.cpp Fix: Use memory_order_relaxed instead of memory_order_relaxed (#159105) 2025-07-25 19:39:04 +00:00
DeviceType.h Migrate DeviceType to torch/headeronly (#163999) 2025-09-30 23:13:27 +00:00
DispatchKey.cpp [MPS] Add boilerplate sparse code support (#157238) 2025-06-30 01:53:45 +00:00
DispatchKey.h Mark unused parameters in C++ code (#164912) 2025-10-09 06:23:25 +00:00
DispatchKeySet.cpp Do not decompose in functionalization/proxy tensor if autograd wouldn't have decomposed (#164939) 2025-10-09 04:49:44 +00:00
DispatchKeySet.h Mark unused parameters in C++ code (#164912) 2025-10-09 06:23:25 +00:00
DynamicCast.h
Event.h Don't return values in void functions (#164809) 2025-10-08 01:04:14 +00:00
GeneratorImpl.cpp Avoid std::chrono::system_clock (#153135) 2025-05-08 16:30:29 +00:00
GeneratorImpl.h [1/N] Enable cppcoreguidelines-special-member-functions (#137405) 2024-10-23 00:16:53 +00:00
GradMode.cpp
GradMode.h [1/N] Enable cppcoreguidelines-special-member-functions (#137405) 2024-10-23 00:16:53 +00:00
InferenceMode.cpp
InferenceMode.h [1/N] Enable cppcoreguidelines-special-member-functions (#137405) 2024-10-23 00:16:53 +00:00
Layout.h [MPS] coalesce for sparse tensors (#159729) 2025-08-08 13:49:55 +00:00
MemoryFormat.h
OptionalRef.h
PyHandleCache.h
QEngine.h
QScheme.h
RefcountedDeleter.cpp [18/N] Fix extra warnings brought by clang-tidy-17 (#144014) 2025-01-08 17:21:55 +00:00
RefcountedDeleter.h [BE] fix typos in c10/ (#156078) 2025-06-18 10:24:44 +00:00
SafePyObject.cpp
SafePyObject.h Mark unused parameters in C++ code (#164912) 2025-10-09 06:23:25 +00:00
Scalar.cpp
Scalar.h Mark unused parameters in C++ code (#164912) 2025-10-09 06:23:25 +00:00
ScalarType.cpp add torch.float4_e2m1fn_x2 to PyTorch (#148791) 2025-03-27 17:32:20 +00:00
ScalarType.h [Reland] Migrate ScalarType to headeronly (#159911) 2025-08-06 07:36:37 +00:00
ScalarTypeToTypeMeta.h
Storage.cpp
Storage.h Mark unused parameters in C++ code (#164912) 2025-10-09 06:23:25 +00:00
StorageImpl.cpp Turn some variables and functions into static (#136847) 2024-10-29 17:01:56 +00:00
StorageImpl.h [sigmoid] memory planner C10 deps (#151275) 2025-04-24 01:46:32 +00:00
Stream.cpp
Stream.h Mark unused parameters in C++ code (#164912) 2025-10-09 06:23:25 +00:00
StreamGuard.h [2/N] Fix clang-tidy readability checks (#164652) 2025-10-06 01:06:01 +00:00
SymbolicShapeMeta.cpp symbolic cpp channels_last_contiguous (#160402) 2025-09-05 21:40:32 +00:00
SymbolicShapeMeta.h [attempt 2] Compute contiguity symbolically to avoid dde, and introduce c++ sym_is_contiguous (#157472) 2025-07-02 23:12:29 +00:00
SymBool.cpp Support C++ statically_known_true (#151346) 2025-04-18 06:42:12 +00:00
SymBool.h Mark unused parameters in C++ code (#164912) 2025-10-09 06:23:25 +00:00
SymFloat.cpp fix incorrect c10::SymFloat::sqrt (#141728) 2024-12-03 23:34:16 +00:00
SymFloat.h Mark unused parameters in C++ code (#164912) 2025-10-09 06:23:25 +00:00
SymInt.cpp Remove unused argument from DEFINE_BINARY macro. (#163868) 2025-09-28 06:32:41 +00:00
SymInt.h Mark unused parameters in C++ code (#164912) 2025-10-09 06:23:25 +00:00
SymIntArrayRef.cpp
SymIntArrayRef.h
SymNodeImpl.cpp
SymNodeImpl.h [ez] Make SymNodeImpl comments less misleading (#154480) 2025-05-28 14:04:32 +00:00
TensorImpl.cpp Remove guard_size_oblivious from default contiguity python check, and add aten.sym_is_contiguous. [attempt2] (#160869) 2025-09-08 22:59:13 +00:00
TensorImpl.h Mark unused parameters in C++ code (#164912) 2025-10-09 06:23:25 +00:00
TensorOptions.cpp
TensorOptions.h Enable readability-redundant-declaration (#143982) 2024-12-31 00:20:10 +00:00
thread_pool.cpp Fix extra semicolon warning (#148291) 2025-03-03 18:51:44 +00:00
thread_pool.h
UndefinedTensorImpl.cpp Mark unused parameters in C++ code (#164912) 2025-10-09 06:23:25 +00:00
UndefinedTensorImpl.h [attempt 2] Compute contiguity symbolically to avoid dde, and introduce c++ sym_is_contiguous (#157472) 2025-07-02 23:12:29 +00:00
WrapDimMinimal.cpp Bump Clang-tidy to 19.1.4 (#148648) 2025-03-10 17:32:30 +00:00
WrapDimMinimal.h