aboutsummaryrefslogtreecommitdiff
path: root/src/core/NEON/kernels/arm_gemm/barrier.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/NEON/kernels/arm_gemm/barrier.hpp')
-rw-r--r--src/core/NEON/kernels/arm_gemm/barrier.hpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/core/NEON/kernels/arm_gemm/barrier.hpp b/src/core/NEON/kernels/arm_gemm/barrier.hpp
index 3b34e8089f..b7abd87c29 100644
--- a/src/core/NEON/kernels/arm_gemm/barrier.hpp
+++ b/src/core/NEON/kernels/arm_gemm/barrier.hpp
@@ -39,14 +39,6 @@ private:
public:
barrier(unsigned int threads) : m_threads(threads), m_waiters(0), m_leavers(0) { }
- // Add a move constructor because these objects might be moved around at setup time.
- // Moving while the barrier is active won't work.
- barrier(barrier &&other) : m_threads(other.m_threads), m_waiters(0), m_leavers(0) {
- // This doesn't make it safe, but will have a chance of firing if something odd is occurring.
- assert(other.m_waiters==0);
- assert(other.m_leavers==0);
- }
-
/* This isn't safe if any thread is waiting... */
void set_nthreads(unsigned int nthreads) {
m_threads = nthreads;