diff options
author | cnugteren <web@cedricnugteren.nl> | 2016-04-04 08:38:31 -0700 |
---|---|---|
committer | cnugteren <web@cedricnugteren.nl> | 2016-04-04 08:38:31 -0700 |
commit | 90e237b97a42ebc71771e1d023f2f8f695c8fa59 (patch) | |
tree | 369437347cb4f9d25f701ad82250adafdfe6c3c3 /src/routines/level1 | |
parent | 2981ca4d3caf5b1fcc346bc6df65f2ee6ccac141 (diff) |
Removed redundant queue synchronisation statements
Diffstat (limited to 'src/routines/level1')
-rw-r--r-- | src/routines/level1/xaxpy.cc | 3 | ||||
-rw-r--r-- | src/routines/level1/xcopy.cc | 3 | ||||
-rw-r--r-- | src/routines/level1/xdot.cc | 3 | ||||
-rw-r--r-- | src/routines/level1/xnrm2.cc | 3 | ||||
-rw-r--r-- | src/routines/level1/xscal.cc | 3 | ||||
-rw-r--r-- | src/routines/level1/xswap.cc | 3 |
6 files changed, 0 insertions, 18 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; } |