summaryrefslogtreecommitdiff
path: root/src/kernels/level1/xasum.opencl
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernels/level1/xasum.opencl')
-rw-r--r--src/kernels/level1/xasum.opencl2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/kernels/level1/xasum.opencl b/src/kernels/level1/xasum.opencl
index 1fc91be8..29e7fa3e 100644
--- a/src/kernels/level1/xasum.opencl
+++ b/src/kernels/level1/xasum.opencl
@@ -56,7 +56,6 @@ void Xasum(const int n,
barrier(CLK_LOCAL_MEM_FENCE);
// Performs reduction in local memory
- #pragma unroll
for (int s=WGS1/2; s>0; s=s>>1) {
if (lid < s) {
Add(lm[lid], lm[lid], lm[lid + s]);
@@ -85,7 +84,6 @@ void XasumEpilogue(const __global real* restrict input,
barrier(CLK_LOCAL_MEM_FENCE);
// Performs reduction in local memory
- #pragma unroll
for (int s=WGS2/2; s>0; s=s>>1) {
if (lid < s) {
Add(lm[lid], lm[lid], lm[lid + s]);