pytorch/c10/test
dolpm 66f53889d5 [nativert] port semaphore to c10 util (#153504)
Summary:
nativert RFC: https://github.com/zhxchen17/rfcs/blob/master/RFC-0043-torch-native-runtime.md

To land the runtime into PyTorch core, we will gradually land logical parts of the code into the Github issue and get each piece properly reviewed.

This diff adds a simple semaphore interface into c10 until c++20 where we get counting_semaphore

gonna need a oss build export to take a look at this...

Test Plan: CI

Differential Revision: D73882656

Pull Request resolved: https://github.com/pytorch/pytorch/pull/153504
Approved by: https://github.com/zhxchen17
2025-05-28 19:17:30 +00:00
..
core consolidate ATen/test/dispatch_key_set_test.cpp with rest of DispatchKeySet tests (#151697) 2025-04-21 02:58:12 +00:00
util [nativert] port semaphore to c10 util (#153504) 2025-05-28 19:17:30 +00:00
BUILD.bazel move //c10:tests target to the shared //c10/test package (#70928) 2022-02-03 20:14:57 +00:00
build.bzl Add function to materialize COW storages (#117053) 2024-01-10 15:34:16 +00:00
CMakeLists.txt Set RUNPATH so installed tests can find the required shared libraries (#136627) 2024-10-25 09:38:08 +00:00