memory allocation refactoring

Change-Id: Ic63b4f5ea44f2dc5e009e3e58652a661e957b7d6
Bu işleme şunda yer alıyor:
Evgeny
2018-04-27 20:00:20 -05:00
ebeveyn 0d286e5efa
işleme c9c0ecc976
14 değiştirilmiş dosya ile 194 ekleme ve 175 silme
+1 -1
Dosyayı Görüntüle
@@ -67,7 +67,7 @@ __kernel void SimpleConvolution(__global uint * output,
float sumFX = 0;
for(uint i = left; i <= right; ++i) {
for(uint j = top ; j <= bottom; ++j) {
for(uint j = top; j <= bottom; ++j) {
// performing wighted sum within the mask boundaries
uint maskIndex = (j - (y - hstep)) * maskWidth + (i - (x - vstep));
uint index = j * width + i;