Skip to content

Add ARM Ubuntu compatibility path#17

Merged
g4197 merged 1 commit into
thustorage:mainfrom
yzim:feat/arm-ubuntu-compat
Jun 23, 2026
Merged

Add ARM Ubuntu compatibility path#17
g4197 merged 1 commit into
thustorage:mainfrom
yzim:feat/arm-ubuntu-compat

Conversation

@yzim

@yzim yzim commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR adds basic ARM Ubuntu compatibility while keeping the existing x86 optimized paths.

Changes

  • add an arch compatibility header for pause and prefetch
  • replace hard-coded x86-only pause / prefetch callsites
  • keep x86 SIMD paths unchanged where supported
  • add a generic fallback for a RabitQ AVX512-only path on non-x86
  • only run the AVX runtime probe on x86
  • rename test_cpu.cpp to test_x86_avx.cpp
  • run CI on both x64 and arm64 Ubuntu

Validation

Validated by building and running a small smoke test in an Ubuntu ARM container.

@yzim yzim marked this pull request as ready for review June 22, 2026 14:09
@g4197 g4197 merged commit 602d2c6 into thustorage:main Jun 23, 2026
2 checks passed
@yzim yzim deleted the feat/arm-ubuntu-compat branch June 23, 2026 13:07
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.

2 participants