diff options
author | Justin Graham <jgraham@gh.st> | 2022-04-22 11:39:38 -0500 |
---|---|---|
committer | Justin Graham <jgraham@gh.st> | 2022-04-22 11:39:38 -0500 |
commit | ba254d2f504c83244910a9ed377c7734abe8f567 (patch) | |
tree | a7b70071929ee207a30e48d29004adc48756342d | |
parent | 9e2ccb7f2b7405f72cf5bdb0a2c2dd20ab519cbd (diff) |
sum fix
-rw-r--r-- | src/kernels/level1/xasum.opencl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernels/level1/xasum.opencl b/src/kernels/level1/xasum.opencl index 29e7fa3e..42e49d4c 100644 --- a/src/kernels/level1/xasum.opencl +++ b/src/kernels/level1/xasum.opencl @@ -93,7 +93,7 @@ void XasumEpilogue(const __global real* restrict input, // Computes the absolute value and stores the final result if (lid == 0) { - #if PRECISION == 3232 || PRECISION == 6464 + #if (PRECISION == 3232 || PRECISION == 6464) && defined(ROUTINE_ASUM) asum[asum_offset].x = lm[0].x + lm[0].y; // the result is a non-complex number #else asum[asum_offset] = lm[0]; |