pytorch/c10
Yuanyuan Chen e2dc32f4ba Replace decltype(auto) with auto (#166537)
This PR replaces `decltype(auto)` with `auto` for C++ return type deduction and simplifies some templates.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/166537
Approved by: https://github.com/Skylion007
2025-11-01 00:30:23 +00:00
..
benchmark Set RUNPATH so installed tests can find the required shared libraries (#136627) 2024-10-25 09:38:08 +00:00
core [Conv1d] Check overflow before we compute padding size. (#162363) 2025-10-29 03:27:20 +00:00
cuda [CUDA] Add experimental green context support for SM carveout (#159104) 2025-10-22 21:38:52 +00:00
hip Use torch_compile_options for c10 libraries (#147821) 2025-03-18 01:54:23 +00:00
macros Move c10/macros/Macros.h to headeronly (#158365) 2025-07-16 18:46:52 +00:00
metal [MPS] Move logaddexp/logaddexp2 to Metal and support complex (#166670) 2025-10-31 16:15:02 +00:00
mobile [3/N] fix typo in other folders (#166606) 2025-10-30 10:30:40 +00:00
test Replace decltype(auto) with auto (#166537) 2025-11-01 00:30:23 +00:00
util Replace decltype(auto) with auto (#166537) 2025-11-01 00:30:23 +00:00
xpu Introduce a new API torch.xpu.get_per_process_memory_fraction (#165511) 2025-10-30 19:30:09 +00:00
BUCK.oss Migrate c10/macros/cmake_macros.h.in to torch/headeronly (#158035) 2025-07-15 19:52:59 +00:00
BUILD.bazel
build.bzl Remove non-header-only dep from c10_headers target (#155858) 2025-06-16 21:41:25 +00:00
CMakeLists.txt Migrate c10/macros/cmake_macros.h.in to torch/headeronly (#158035) 2025-07-15 19:52:59 +00:00
ovrsource_defs.bzl Revert "Consistently use c10_ovrsource in arvr mode everywhere (#164128)" 2025-09-30 14:43:52 +00:00