Fixed bug in reduce.cl

This commit is contained in:
Elena Gvozdeva
2014-07-25 14:51:30 +04:00
parent 1f0ca00d75
commit fe29af2e58
2 changed files with 3 additions and 2 deletions

View File

@@ -379,7 +379,7 @@
#define REDUCE_GLOBAL \
dstTK temp = convertToDT(loadpix(srcptr + src_index)); \
dstTK temp2 = convertToDT(loadpix(src2ptr + src2_index)); \
temp = SUM_ABS2(temp, temp2)); \
temp = SUM_ABS2(temp, temp2); \
FUNC(accumulator, temp.s0); \
FUNC(accumulator, temp.s1); \
FUNC(accumulator, temp.s2); \