mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
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
646 B
646 B
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 didn’t 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