You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
means[vectIdx + linearSampleIdx * subArraySize] = mean / static_cast<float>(num);
for each sample it computes the mean signal in the sliding subaperture. So it is of length subArraySize at max (per sample). (specifically of subArraySizeLocal, but the stride is subArraySize).
So the lines you mention are wrong indeed.
With above, it should be
supra/src/SupraLib/Beamformer/RxBeamformerMVpcg.cu
Line 225 in 70bc6d9
I think this line need change to:
if ((subtractMeans) && ((offset + colIdx) < subArraySizeLocal))
if not, index
offset + colIdx
will out of subArraySizeLocal, and will get the next line's mean valueThe text was updated successfully, but these errors were encountered: