Files
pytorch/third_party/concurrentqueue
Zhengxu Chen 361bf056a7 [nativert] Add moodycamel/concurrentqueue as third-party dependency (#152033)
nativert RFC:  https://github.com/zhxchen17/rfcs/blob/master/RFC-0043-torch-native-runtime.md

moodycamel/concurrentqueue is a high performence mpmc queue implementation and single header only. We want to add this to third_party to be used with upcoming Torch Native Runtime.

The source code is imported from commit hash 2f09da73d22a47dc8a89cdd4fc4c3bfae07f4284 from https://github.com/cameron314/concurrentqueue

Pull Request resolved: https://github.com/pytorch/pytorch/pull/152033
Approved by: https://github.com/seemethere, https://github.com/malfet
2025-04-30 21:37:20 +00:00
..

How to update moodycamel

To update the moodycamel directory with the latest files from the concurrentqueue repository, run the following command:

cd third_party/concurrentqueue
./update.sh

Why not a submodule

We didnt want to deal with license issues from the test/ directory so we decided on a non-submodule approach. This script allows us to keep the moodycamel directory up-to-date with the latest files from the concurrentqueue repository without having to worry about submodule complexities.

Original source

repo: https://github.com/cameron314/concurrentqueue commit: 24b78782bd6ca5a5853ef46917708806112dc142