Home
last modified time | relevance | path

Searched refs:PyInterpreterStatus (Results 1 – 8 of 8) sorted by relevance

/aosp_15_r20/external/pytorch/torch/csrc/
H A DStorage.cpp38 c10::impl::PyInterpreterStatus status, in THPStorage_NewWithStorage()
97 c10::impl::PyInterpreterStatus::DEFINITELY_UNINITIALIZED); in THPStorage_Wrap()
110 c10::impl::PyInterpreterStatus::DEFINITELY_UNINITIALIZED); in THPStorage_Wrap()
114 c10::impl::PyInterpreterStatus status = in THPStorage_Wrap()
115 c10::impl::PyInterpreterStatus::TAGGED_BY_US; in THPStorage_Wrap()
134 status = c10::impl::PyInterpreterStatus::TAGGED_BY_US; in THPStorage_Wrap()
137 status = c10::impl::PyInterpreterStatus::DEFINITELY_UNINITIALIZED; in THPStorage_Wrap()
139 status = c10::impl::PyInterpreterStatus::MAYBE_UNINITIALIZED; in THPStorage_Wrap()
386 c10::impl::PyInterpreterStatus::DEFINITELY_UNINITIALIZED); in THPStorage_pynew()
400 c10::impl::PyInterpreterStatus::DEFINITELY_UNINITIALIZED); in THPStorage_pynew()
[all …]
H A DStorageSharing.cpp90 c10::impl::PyInterpreterStatus::TAGGED_BY_US); in THPStorage_pyNewFilenameStorage()
186 c10::impl::PyInterpreterStatus::TAGGED_BY_US); in THPStorage_newSharedFilename()
202 c10::impl::PyInterpreterStatus::TAGGED_BY_US); in THPStorage_pyNewFdStorage()
282 c10::impl::PyInterpreterStatus::TAGGED_BY_US); in THPStorage_newSharedFd()
565 c10::impl::PyInterpreterStatus::TAGGED_BY_US); in THPStorage_newSharedCuda()
H A DStorage.h22 c10::impl::PyInterpreterStatus status,
H A DStorageMethods.cpp421 c10::impl::PyInterpreterStatus::TAGGED_BY_US); in THPStorage_fromFile()
H A DModule.cpp407 getPyInterpreter(), a_, c10::impl::PyInterpreterStatus::TAGGED_BY_US); in THPModule_swap_tensor_impl()
409 getPyInterpreter(), b_, c10::impl::PyInterpreterStatus::TAGGED_BY_US); in THPModule_swap_tensor_impl()
/aosp_15_r20/external/pytorch/c10/core/impl/
H A DPyObjectSlot.h30 PyInterpreterStatus status) { in init_pyobj()
33 case impl::PyInterpreterStatus::DEFINITELY_UNINITIALIZED: in init_pyobj()
38 case impl::PyInterpreterStatus::TAGGED_BY_US: in init_pyobj()
41 case impl::PyInterpreterStatus::MAYBE_UNINITIALIZED: in init_pyobj()
60 case impl::PyInterpreterStatus::TAGGED_BY_OTHER: in init_pyobj()
H A DPyInterpreter.h245 enum class PyInterpreterStatus { enum
/aosp_15_r20/external/pytorch/torch/csrc/autograd/
H A Dpython_variable.cpp211 c10::impl::PyInterpreterStatus status,
267 c10::impl::PyInterpreterStatus::DEFINITELY_UNINITIALIZED); in THPVariable_Wrap()
273 c10::impl::PyInterpreterStatus status{}; in THPVariable_Wrap()
298 status = c10::impl::PyInterpreterStatus::TAGGED_BY_US; in THPVariable_Wrap()
304 status = c10::impl::PyInterpreterStatus::DEFINITELY_UNINITIALIZED; in THPVariable_Wrap()
306 status = c10::impl::PyInterpreterStatus::MAYBE_UNINITIALIZED; in THPVariable_Wrap()
683 c10::impl::PyInterpreterStatus::DEFINITELY_UNINITIALIZED); in THPVariable_as_subclass()
738 c10::impl::PyInterpreterStatus::DEFINITELY_UNINITIALIZED); in THPVariable_make_subclass()
886 c10::impl::PyInterpreterStatus::DEFINITELY_UNINITIALIZED); in THPVariable_make_wrapper_subclass()
1894 c10::impl::PyInterpreterStatus::MAYBE_UNINITIALIZED, in THPVariable_pynew()
[all …]