summaryrefslogtreecommitdiff
path: root/src/routines/level2
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 /src/routines/level2
parent2981ca4d3caf5b1fcc346bc6df65f2ee6ccac141 (diff)
Removed redundant queue synchronisation statements
Diffstat (limited to 'src/routines/level2')
-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
4 files changed, 0 insertions, 12 deletions
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; }