Home
last modified time | relevance | path

Searched refs:gil_acquire (Results 1 – 3 of 3) sorted by relevance

/external/python/pybind11/tests/
Dcross_module_gil_utils.cpp23 void gil_acquire() { py::gil_scoped_acquire gil; } in gil_acquire() function
64 sizeof(&gil_acquire) == sizeof(void*), in PyInit_cross_module_gil_utils()
67 PyLong_FromVoidPtr(reinterpret_cast<void*>(&gil_acquire))); in PyInit_cross_module_gil_utils()
Dtest_gil_scoped.cpp49 auto gil_acquire = reinterpret_cast<void (*)()>( in TEST_SUBMODULE() local
52 gil_acquire(); in TEST_SUBMODULE()
/external/tensorflow/tensorflow/compiler/xla/python/
Doutfeed_receiver_py.cc104 py::gil_scoped_acquire gil_acquire; // Need GIL also for LiteralToPython in Callback() local