Home
last modified time | relevance | path

Searched refs:PythonTLSSnapshot (Results 1 – 14 of 14) sorted by relevance

/aosp_15_r20/external/pytorch/c10/core/impl/
H A DTorchDispatchModeTLS.cpp32 DispatchKey::PythonTLSSnapshot, true); in push_non_infra_mode_onto_stack()
60 DispatchKey::PythonTLSSnapshot, false); in pop_stack()
77 DispatchKey::PythonTLSSnapshot, false); in pop_highest_infra_mode()
142 DispatchKey::PythonTLSSnapshot, true); in set_mode()
156 DispatchKey::PythonTLSSnapshot, false); in unset_mode()
170 DispatchKey::PythonTLSSnapshot, false); in set_state()
174 DispatchKey::PythonTLSSnapshot, true); in set_state()
/aosp_15_r20/external/pytorch/aten/src/ATen/core/
H A DPythonFallbackKernel.cpp108 … c10::DispatchKeySet(c10::DispatchKeySet::FULL_AFTER, c10::DispatchKey::PythonTLSSnapshot), stack); in pythonTLSSnapshotFallback()
161 TORCH_LIBRARY_IMPL(_, PythonTLSSnapshot, m) { in TORCH_LIBRARY_IMPL() argument
H A DTorchDispatchUtils.cpp7 DispatchKeySet key_set({DispatchKey::Python, DispatchKey::PythonTLSSnapshot}); in tensor_has_dispatch()
/aosp_15_r20/external/pytorch/c10/core/
H A DDispatchKey.cpp172 case DispatchKey::PythonTLSSnapshot: in toString()
281 {"PythonTLSSnapshot", c10::DispatchKey::PythonTLSSnapshot}, in parseDispatchKey()
H A DDispatchKeySet.h689 DispatchKey::PythonTLSSnapshot,
918 DispatchKey::PythonTLSSnapshot, in legacyExtractDispatchKey()
H A DDispatchKey.h396 PythonTLSSnapshot, enumerator
/aosp_15_r20/external/pytorch/torch/csrc/utils/
H A Dpython_dispatch.cpp84 at::DispatchKey::PythonTLSSnapshot)) { in EnableHermeticPyObject()
89 at::DispatchKey::PythonTLSSnapshot, false); in EnableHermeticPyObject()
98 at::DispatchKey::PythonTLSSnapshot, old_python_snapshot_); in ~EnableHermeticPyObject()
717 DEF_ONE(PythonTLSSnapshot) in initDispatchBindings()
H A Ddisable_torch_function.h25 guard_tls_snapshot_(c10::DispatchKey::PythonTLSSnapshot) {}
H A Dtensor_new.cpp393 c10::DispatchKey::PythonTLSSnapshot); in internal_new_from_data()
/aosp_15_r20/external/executorch/exir/
H A Ddelegate.py38 executorch_call_delegate.fallthrough(torch._C.DispatchKey.PythonTLSSnapshot)
/aosp_15_r20/external/pytorch/torch/_higher_order_ops/
H A Dexecutorch_call_delegate.py38 executorch_call_delegate.fallthrough(torch._C.DispatchKey.PythonTLSSnapshot)
H A Dtriton_kernel_wrap.py736 triton_kernel_wrapper_mutation.fallthrough(DispatchKey.PythonTLSSnapshot) # type: ignore[attr-defi…
745 triton_kernel_wrapper_functional.fallthrough(DispatchKey.PythonTLSSnapshot) # type: ignore[attr-de…
/aosp_15_r20/external/pytorch/torch/
H A D_ops.py234 DispatchKey.PythonTLSSnapshot, # type: ignore[attr-defined]
900 DispatchKey.PythonTLSSnapshot,
/aosp_15_r20/external/pytorch/torchgen/
H A Dmodel.py98 PythonTLSSnapshot = auto() variable in DispatchKey