-
Notifications
You must be signed in to change notification settings - Fork 578
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Non-Metal based perceptual image comparison (#666)
* Improve the speed of comparing memory buffers by using a workaround to a missed compiler optimization * Remove Metal usage since some virtualized environments don’t support it Replaces the CoreImage operations that require Metal with CPU-based calculations * Re-add the Metal-based image comparison Check for support before using and fallback to CPU computation if Metal is not supported * Update logic to determine if a Metal kernel is supported on the device * Use the maintainers preferred method of using a while loop
- Loading branch information
Showing
1 changed file
with
129 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters