sum fix
parent
9e2ccb7f2b
commit
ba254d2f50
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue