pytorch/c10
jjsjann123 9e86796fe3 simple c10 implementation for std::call_once (#78051)
A long standing bug on std::call_once: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66146
It could hang during re-entry after an exception handling.

Added a c10 implementation yielding a bulky mutex. Not the most efficient thing but at least it shouldn't hang.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/78051
Approved by: https://github.com/albanD
2022-06-28 15:47:03 +00:00
..
benchmark [PyTorch] add intrusive_ptr exclusive ownership benchmark 2022-06-10 19:26:28 +00:00
core Use AutogradNestedTensor key for nested tensors (#80396) 2022-06-28 06:23:26 +00:00
cuda simple c10 implementation for std::call_once (#78051) 2022-06-28 15:47:03 +00:00
hip
macros [PyTorch] Stack-allocate boxed args for RecordFunction 2022-05-24 17:06:40 +00:00
mobile
test turn on -Werror=unused-variable in our Bazel CPU build 2022-06-11 02:46:34 +00:00
util simple c10 implementation for std::call_once (#78051) 2022-06-28 15:47:03 +00:00
BUCK.oss rename BUILD.buck to BUCK.oss (#78792) 2022-06-03 07:23:16 +00:00
BUILD.bazel
build.bzl
c10_defs.bzl Add all bzl files per D36874458 2022-06-06 09:40:19 -07:00
CMakeLists.txt [c10]Delete non-existent paths (#79187) 2022-06-09 18:06:42 +00:00
defs_hip.bzl Add all bzl files per D36874458 2022-06-06 09:40:19 -07:00
ovrsource_defs.bzl Add all bzl files per D36874458 2022-06-06 09:40:19 -07:00