Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed VIPS_NOVECTOR correct work #3897

Merged
merged 2 commits into from
Dec 15, 2023
Merged

Fixed VIPS_NOVECTOR correct work #3897

merged 2 commits into from
Dec 15, 2023

Conversation

icetee
Copy link
Contributor

@icetee icetee commented Dec 15, 2023

Based on the #3893 issue, there was a setting problem, which is fixed with this modification. If the process.env.VIPS_NOVECTOR=0, then simd set false in default.

Copy link
Owner

@lovell lovell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR, I've left one comment inline.

lib/utility.js Outdated Show resolved Hide resolved
@kleisauke
Copy link
Contributor

I would suggest to simply remove this line, given that libvips already utilizes SIMD by default (when compiled against either Highway or liborc).

@icetee
Copy link
Contributor Author

icetee commented Dec 15, 2023

I deleted the line, utilities.cc unlocks it and checks it. Its work.

@lovell lovell merged commit 2e14096 into lovell:main Dec 15, 2023
15 checks passed
@lovell
Copy link
Owner

lovell commented Dec 15, 2023

Kösz Tamás!

@lovell lovell added this to the v0.33.1 milestone Dec 15, 2023
lovell added a commit that referenced this pull request Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants