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

Does kitty assume arch baseline for amd64 and arm64? #7231

Closed
nileshpatra opened this issue Mar 15, 2024 · 1 comment
Closed

Does kitty assume arch baseline for amd64 and arm64? #7231

nileshpatra opened this issue Mar 15, 2024 · 1 comment
Labels

Comments

@nileshpatra
Copy link

Hi,

I wanted to update the debian packageto 0.33.0 and noticed that kitty introduces some simd intrinsics. I did not deep dive and I figured it'd be best if I just clarified with you.

Debian considers amd64 baseline to be SSE2 and anything above that is a violation, so I'd need to build the package for different baselines and write a dispatcher script to select the appropriate baseline based on /proc/cpuinfo as detailed in: https://wiki.debian.org/SIMDEverywhere

However, as far as I checked, kitty and the 3rd party lib bundled with it will do this during runtime, will not violate the baseline and hence I can build the package normally irrespective of the target CPU architecture. Can you confirm this is the case or do I need to something special here?

@kovidgoyal
Copy link
Owner

You dont need to do anything. SIMD support is detected and used at runtime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants