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
14 lines
567 B
Bash
Executable File
14 lines
567 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Create the moodycamel directory if it doesn't exist
|
|
mkdir -p moodycamel
|
|
|
|
# Download the concurrentqueue.h file
|
|
curl -o moodycamel/concurrentqueue.h https://raw.githubusercontent.com/cameron314/concurrentqueue/master/concurrentqueue.h
|
|
|
|
# Download the lightweightsemaphore.h file
|
|
curl -o moodycamel/lightweightsemaphore.h https://raw.githubusercontent.com/cameron314/concurrentqueue/master/lightweightsemaphore.h
|
|
|
|
# Download the LICENSE.md file
|
|
curl -o moodycamel/LICENSE.md https://raw.githubusercontent.com/cameron314/concurrentqueue/master/LICENSE.md
|