pytorch/c10/core/impl
Lukas N Wirz 301d9c0556 Remove deprecated usage of is_pod/is_pod_v (#88918)
… as equivalent replacements for std::is_pod and std::is_pod_v because they are deprecated in C++20.

When consuming libtorch header files in a project that uses C++20, there are warnings about std::is_pod being deprecated.  This patch fixes that issue.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/88918
Approved by: https://github.com/ezyang
2022-12-05 16:50:00 +00:00
..
alloc_cpu.cpp Make allocator check C10_UNLIKELY 2022-06-03 19:41:29 +00:00
alloc_cpu.h extract out //c10/core:alloc_cpu (#70859) 2022-01-27 07:34:52 +00:00
DeviceGuardImplInterface.cpp Disable avoid-non-const-global-variables lint check (#62008) 2021-07-22 18:04:40 -07:00
DeviceGuardImplInterface.h Eliminate unused parameters in PyTorch (#73749) 2022-03-04 02:31:37 +00:00
FakeGuardImpl.h Fix c10 sign-compare violations 2022-04-01 19:15:51 +00:00
GPUTrace.cpp CUDA trace Python hooks (#82824) 2022-08-11 10:21:40 +00:00
GPUTrace.h CUDA trace Python hooks (#82824) 2022-08-11 10:21:40 +00:00
HermeticPyObjectTLS.cpp Make Python op registration work with torchdeploy/multipy (#87162) 2022-11-03 12:56:44 +00:00
HermeticPyObjectTLS.h Make Python op registration work with torchdeploy/multipy (#87162) 2022-11-03 12:56:44 +00:00
InlineDeviceGuard.h
InlineEvent.h
InlineStreamGuard.h use irange for loops 2 (#66746) 2021-12-10 04:26:23 -08:00
LocalDispatchKeySet.cpp [PyTorch] Gate tls_local_dispatch_key_set off on iOS too (#64753) 2021-09-13 10:54:28 -07:00
LocalDispatchKeySet.h Remove deprecated usage of is_pod/is_pod_v (#88918) 2022-12-05 16:50:00 +00:00
PyInterpreter.cpp Make Python op registration work with torchdeploy/multipy (#87162) 2022-11-03 12:56:44 +00:00
PyInterpreter.h Make Python op registration work with torchdeploy/multipy (#87162) 2022-11-03 12:56:44 +00:00
PythonDispatcherTLS.cpp New calling convention for Python dispatcher (#85133) 2022-09-16 20:38:21 +00:00
PythonDispatcherTLS.h New calling convention for Python dispatcher (#85133) 2022-09-16 20:38:21 +00:00
README.md
SizesAndStrides.cpp Store SymInt out of line (#84390) 2022-09-06 20:24:39 +00:00
SizesAndStrides.h Store SymInt out of line (#84390) 2022-09-06 20:24:39 +00:00
TorchDispatchModeTLS.cpp [Modes] refactor modes to only use a stack in cpp (#86458) 2022-10-21 19:18:23 +00:00
TorchDispatchModeTLS.h [Modes] refactor modes to only use a stack in cpp (#86458) 2022-10-21 19:18:23 +00:00
VirtualGuardImpl.h

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.)