pytorch/c10/core/impl
cyy 12f97bb2e9 [Reland][3/N] Add -Wdeprecated and related fixes (#110518)
Fixes the string_view errors and reland the work. The previous changes in torch/csrc/utils/invalid_arguments.cpp were too aggressive and not tested thoroughly. They are discarded.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/110518
Approved by: https://github.com/ezyang
2023-10-07 08:38:40 +00:00
..
cow Reorganize and rename COW files and APIs (#110191) 2023-09-28 17:50:44 +00:00
alloc_cpu.cpp Enable mimalloc on pytorch Windows (#102595) 2023-06-27 08:53:26 +00:00
alloc_cpu.h [T153220354] Fix header inclusions in c10 (#1541) (#101846) 2023-05-20 19:35:14 +00:00
DeviceGuardImplInterface.cpp
DeviceGuardImplInterface.h [Reland][3/N] Add -Wdeprecated and related fixes (#110518) 2023-10-07 08:38:40 +00:00
FakeGuardImpl.h [Reland] Add -Wdeprecated and related fixes (#110019) 2023-09-28 03:34:29 +00:00
GPUTrace.cpp [T153220354] Fix header inclusions in c10 (#1541) (#101846) 2023-05-20 19:35:14 +00:00
GPUTrace.h Revert "[1/N] Cleanup header inclusions in torch_cpu by iwyu (#101178)" 2023-09-25 20:05:25 +00:00
HermeticPyObjectTLS.cpp Make Python op registration work with torchdeploy/multipy (#87162) 2022-11-03 12:56:44 +00:00
HermeticPyObjectTLS.h [T153220354] Fix header inclusions in c10 (#1541) (#101846) 2023-05-20 19:35:14 +00:00
InlineDeviceGuard.h Fix typos under c10 directory (#98079) 2023-03-31 18:31:11 +00:00
InlineEvent.h Apply noexcept to relevant move methods to improve performance (#92156) 2023-01-14 00:17:26 +00:00
InlineStreamGuard.h Some performance fixes (#94034) 2023-02-04 02:17:48 +00:00
LocalDispatchKeySet.cpp adjust header inclusions in C10 as sugguested by IWYU (#102467) 2023-05-31 19:19:10 +00:00
LocalDispatchKeySet.h Make FunctionalTensor subclass to be more like functorch (interaction with ZeroTensor + Conjugate key) (#109023) 2023-09-22 07:09:04 +00:00
PyInterpreter.cpp [TORCH_LIBRARY] Add impl_abstract_pystub (#109529) 2023-09-22 04:55:36 +00:00
PyInterpreter.h [TORCH_LIBRARY] Add impl_abstract_pystub (#109529) 2023-09-22 04:55:36 +00:00
PyObjectSlot.cpp Reland 2: Add PyObject preservation for UntypedStorage (#109039) 2023-09-12 22:26:05 +00:00
PyObjectSlot.h Reland 2: Add PyObject preservation for UntypedStorage (#109039) 2023-09-12 22:26:05 +00:00
PythonDispatcherTLS.cpp [T153220354] Fix header inclusions in c10 (#1541) (#101846) 2023-05-20 19:35:14 +00:00
PythonDispatcherTLS.h [T153220354] Fix header inclusions in c10 (#1541) (#101846) 2023-05-20 19:35:14 +00:00
README.md
SizesAndStrides.cpp Fix: Apply clang-tidy to c10/core (#90699) 2022-12-13 12:07:36 +00:00
SizesAndStrides.h Revert "[1/N] Cleanup header inclusions in torch_cpu by iwyu (#101178)" 2023-09-25 20:05:25 +00:00
TorchDispatchModeTLS.cpp reorder proxy / fake modes so they always run last (#104482) 2023-08-29 02:36:48 +00:00
TorchDispatchModeTLS.h Add TorchDispatch version of functionalization (#106404) 2023-09-15 20:19:25 +00:00
VirtualGuardImpl.h [Reland] Add -Wdeprecated and related fixes (#110019) 2023-09-28 03:34:29 +00:00

c10/core/impl provides headers for functionality that is only needed in very specific use-cases (e.g., you are defining a new device type), which are generally only needed by C10 or PyTorch code. If you are an ordinary end-user, you should not use headers in this folder. We permanently give NO backwards-compatibility guarantees for implementations in this folder.

Compare with c10/util, which provides functionality that is not directly related to being a deep learning library (e.g., C++20 polyfills), but may still be generally useful and visible to users.

(We don't call this c10/detail, because the detail namespace convention is for header private details. However, c10::impl may be utilized from external headers; it simply indicates that the functionality is not for end users.)