Skip to content

Commit f407695

Browse files
author
Alexander Khokhlov
committed
Changed normaization
1 parent 02cd540 commit f407695

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CLW/CL/CLW.cl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1586,7 +1586,7 @@ __kernel void buffer_normalization_##type(const __global type* input,\
15861586
type norm_coef = storage[0] - storage[1];\
15871587
int global_id = get_global_id(0);\
15881588
if (global_id < count)\
1589-
output[global_id] = input[global_id] / norm_coef;\
1589+
output[global_id] = (input[global_id] - storage[1]) / norm_coef;\
15901590
}
15911591

15921592
// Do not change the order

0 commit comments

Comments
 (0)