| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
The barrier in the while loop is necessary for Intel CPUs and maybe other platforms to work correctly. I am not sure why it is required because we seem to be performing sufficient synchronization otherwise.
| Back | FazBrowse Home | New Git URL |
This PR fixes an error in the CannyEdgeDetector.OtsuThreshold test which appeared on the Intel CPU OpenCL implementation.
Description
Fixes an infinite loop error that occurred on Intel OpenCL platform targeting the CPU. The fix is to add a barrier at the end of the while loop in the edgeTrackKernel. I am not sure why this is necessary because there is sufficient synchronization there but this barrier fixes the issue.
Changes to Users
N/A
Checklist