summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcnugteren <web@cedricnugteren.nl>2016-04-04 08:38:31 -0700
committercnugteren <web@cedricnugteren.nl>2016-04-04 08:38:31 -0700
commit90e237b97a42ebc71771e1d023f2f8f695c8fa59 (patch)
tree369437347cb4f9d25f701ad82250adafdfe6c3c3
parent2981ca4d3caf5b1fcc346bc6df65f2ee6ccac141 (diff)
Removed redundant queue synchronisation statements
-rw-r--r--src/routines/level1/xaxpy.cc3
-rw-r--r--src/routines/level1/xcopy.cc3
-rw-r--r--src/routines/level1/xdot.cc3
-rw-r--r--src/routines/level1/xnrm2.cc3
-rw-r--r--src/routines/level1/xscal.cc3
-rw-r--r--src/routines/level1/xswap.cc3
-rw-r--r--src/routines/level2/xgemv.cc3
-rw-r--r--src/routines/level2/xger.cc3
-rw-r--r--src/routines/level2/xher.cc3
-rw-r--r--src/routines/level2/xher2.cc3
10 files changed, 0 insertions, 30 deletions
diff --git a/src/routines/level1/xaxpy.cc b/src/routines/level1/xaxpy.cc
index f37a0724..c5acaf49 100644
--- a/src/routines/level1/xaxpy.cc
+++ b/src/routines/level1/xaxpy.cc
@@ -99,9 +99,6 @@ StatusCode Xaxpy<T>::DoAxpy(const size_t n, const T alpha,
}
if (ErrorIn(status)) { return status; }
- // Waits for all kernels to finish
- queue_.Finish();
-
// Succesfully finished the computation
return StatusCode::kSuccess;
} catch (...) { return StatusCode::kInvalidKernel; }
diff --git a/src/routines/level1/xcopy.cc b/src/routines/level1/xcopy.cc
index 2b00d43f..8c7f8671 100644
--- a/src/routines/level1/xcopy.cc
+++ b/src/routines/level1/xcopy.cc
@@ -97,9 +97,6 @@ StatusCode Xcopy<T>::DoCopy(const size_t n,
}
if (ErrorIn(status)) { return status; }
- // Waits for all kernels to finish
- queue_.Finish();
-
// Succesfully finished the computation
return StatusCode::kSuccess;
} catch (...) { return StatusCode::kInvalidKernel; }
diff --git a/src/routines/level1/xdot.cc b/src/routines/level1/xdot.cc
index a0c1e756..e22b0f8b 100644
--- a/src/routines/level1/xdot.cc
+++ b/src/routines/level1/xdot.cc
@@ -95,9 +95,6 @@ StatusCode Xdot<T>::DoDot(const size_t n,
status = RunKernel(kernel2, global2, local2);
if (ErrorIn(status)) { return status; }
- // Waits for all kernels to finish
- queue_.Finish();
-
// Succesfully finished the computation
return StatusCode::kSuccess;
} catch (...) { return StatusCode::kInvalidKernel; }
diff --git a/src/routines/level1/xnrm2.cc b/src/routines/level1/xnrm2.cc
index 064e68bf..685eb29f 100644
--- a/src/routines/level1/xnrm2.cc
+++ b/src/routines/level1/xnrm2.cc
@@ -87,9 +87,6 @@ StatusCode Xnrm2<T>::DoNrm2(const size_t n,
status = RunKernel(kernel2, global2, local2);
if (ErrorIn(status)) { return status; }
- // Waits for all kernels to finish
- queue_.Finish();
-
// Succesfully finished the computation
return StatusCode::kSuccess;
} catch (...) { return StatusCode::kInvalidKernel; }
diff --git a/src/routines/level1/xscal.cc b/src/routines/level1/xscal.cc
index 3fc36b3d..57bbe9e8 100644
--- a/src/routines/level1/xscal.cc
+++ b/src/routines/level1/xscal.cc
@@ -91,9 +91,6 @@ StatusCode Xscal<T>::DoScal(const size_t n, const T alpha,
}
if (ErrorIn(status)) { return status; }
- // Waits for all kernels to finish
- queue_.Finish();
-
// Succesfully finished the computation
return StatusCode::kSuccess;
} catch (...) { return StatusCode::kInvalidKernel; }
diff --git a/src/routines/level1/xswap.cc b/src/routines/level1/xswap.cc
index 123977d3..c986b3fb 100644
--- a/src/routines/level1/xswap.cc
+++ b/src/routines/level1/xswap.cc
@@ -97,9 +97,6 @@ StatusCode Xswap<T>::DoSwap(const size_t n,
}
if (ErrorIn(status)) { return status; }
- // Waits for all kernels to finish
- queue_.Finish();
-
// Succesfully finished the computation
return StatusCode::kSuccess;
} catch (...) { return StatusCode::kInvalidKernel; }
diff --git a/src/routines/level2/xgemv.cc b/src/routines/level2/xgemv.cc
index 79cf8248..bf7ae6fa 100644
--- a/src/routines/level2/xgemv.cc
+++ b/src/routines/level2/xgemv.cc
@@ -165,9 +165,6 @@ StatusCode Xgemv<T>::MatVec(const Layout layout, const Transpose a_transpose,
status = RunKernel(kernel, global, local);
if (ErrorIn(status)) { return status; }
- // Waits for all kernels to finish
- queue_.Finish();
-
// Succesfully finished the computation
return StatusCode::kSuccess;
} catch (...) { return StatusCode::kInvalidKernel; }
diff --git a/src/routines/level2/xger.cc b/src/routines/level2/xger.cc
index d8fb6b03..9ab21bfb 100644
--- a/src/routines/level2/xger.cc
+++ b/src/routines/level2/xger.cc
@@ -92,9 +92,6 @@ StatusCode Xger<T>::DoGer(const Layout layout,
status = RunKernel(kernel, global, local);
if (ErrorIn(status)) { return status; }
- // Waits for all kernels to finish
- queue_.Finish();
-
// Succesfully finished the computation
return StatusCode::kSuccess;
} catch (...) { return StatusCode::kInvalidKernel; }
diff --git a/src/routines/level2/xher.cc b/src/routines/level2/xher.cc
index c025117b..1aefa240 100644
--- a/src/routines/level2/xher.cc
+++ b/src/routines/level2/xher.cc
@@ -102,9 +102,6 @@ StatusCode Xher<T,U>::DoHer(const Layout layout, const Triangle triangle,
status = RunKernel(kernel, global, local);
if (ErrorIn(status)) { return status; }
- // Waits for all kernels to finish
- queue_.Finish();
-
// Succesfully finished the computation
return StatusCode::kSuccess;
} catch (...) { return StatusCode::kInvalidKernel; }
diff --git a/src/routines/level2/xher2.cc b/src/routines/level2/xher2.cc
index bfa84d18..364add12 100644
--- a/src/routines/level2/xher2.cc
+++ b/src/routines/level2/xher2.cc
@@ -94,9 +94,6 @@ StatusCode Xher2<T>::DoHer2(const Layout layout, const Triangle triangle,
status = RunKernel(kernel, global, local);
if (ErrorIn(status)) { return status; }
- // Waits for all kernels to finish
- queue_.Finish();
-
// Succesfully finished the computation
return StatusCode::kSuccess;
} catch (...) { return StatusCode::kInvalidKernel; }