Change-Id: Ic63b4f5ea44f2dc5e009e3e58652a661e957b7d6


[ROCm/rocprofiler commit: c9c0ecc976]
Этот коммит содержится в:
Evgeny
2018-04-27 20:00:20 -05:00
родитель 68cfb95f04
Коммит e761eda5fa
14 изменённых файлов: 194 добавлений и 175 удалений
+1 -1
Просмотреть файл
@@ -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;