mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
[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
This commit is contained in:
9
third_party/BUCK.oss
vendored
9
third_party/BUCK.oss
vendored
@ -75,6 +75,15 @@ cxx_library(
|
||||
visibility = ["PUBLIC"],
|
||||
)
|
||||
|
||||
cxx_library(
|
||||
name = "moodycamel",
|
||||
raw_headers = glob([
|
||||
"concurrentqueue/**/*.h",
|
||||
]),
|
||||
reexport_all_header_dependencies = True,
|
||||
visibility = ["PUBLIC"],
|
||||
)
|
||||
|
||||
cxx_library(
|
||||
name = "pocketfft_header",
|
||||
header_namespace = "",
|
||||
|
Reference in New Issue
Block a user