Merge pull request #2185 from tomoaki0705:fixBuildProgramFailureBioInspired

pull/2186/head^2 3.4.7
Alexander Alekhin 5 years ago
commit 6d656ca069
  1. 4
      modules/bioinspired/src/opencl/retina_kernel.cl

@ -411,9 +411,9 @@ kernel void amacrineCellsComputing(
float4 val_opl_off = vload4(0, opl_off);
float4 magnoXonPixelResult = coeff * (vload4(0, out_on) + val_opl_on - vload4(0, prev_in_on));
vstore4(fmax(magnoXonPixelResult, 0), 0, out_on);
vstore4(fmax(magnoXonPixelResult, 0.f), 0, out_on);
float4 magnoXoffPixelResult = coeff * (vload4(0, out_off) + val_opl_off - vload4(0, prev_in_off));
vstore4(fmax(magnoXoffPixelResult, 0), 0, out_off);
vstore4(fmax(magnoXoffPixelResult, 0.f), 0, out_off);
vstore4(val_opl_on, 0, prev_in_on);
vstore4(val_opl_off, 0, prev_in_off);

Loading…
Cancel
Save