Repository navigation
Step6 native macos - #5
Merged
Merged
Conversation
- Native macOS 27.2.1 PostgreSQL 17 now runs SQL to Metal training to a
VectorChord index. Record the run in docs/step6_native_macos_2026-11-15.md.
- dyld rejects stripped extension bundles on macOS 27.2.1 ("mis-aligned
LINKEDIT string pool"). Build pg_vxvector with CARGO_PROFILE_DEV_STRIP=none,
and document building VectorChord with CARGO_PROFILE_RELEASE_STRIP=none.
- The worker's final read could miss the backend's shutdown(SHUT_WR) on a
socketpair, about one call in seventy, and hang until the timeout. After
row_count rows, poll with a 100 ms timeout before that read. Add a
socketpair regression test.
- Update the roadmap and README status, and drop the stale branch checkout
note from the README.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- src/gpu_kmeans.vx no longer calls vx_metal_wait. The C normalize callback waits instead, so the file builds for Metal and the A100. - Put GPU memory, copies, waits, and the device name behind src/gpu_backend.h, with src/gpu_backend_metal.m (was gpu_device.m) and a new src/gpu_backend_cuda.c on the CUDA runtime. - scripts/build_gpu_cuda.sh builds libvxvector_gpu.so against the Vx CUDA dispatch library and refuses Vx's CPU dispatch library. The Driver API prototype moves to scripts/build_gpu_lloyd_cuda.sh until the shared build passes on an A100. - Fix gpu_l2.c on Linux: define the feature macros before any include, and guard the clang-only FP_CONTRACT pragma. - VX_CHECK_GPU=1 build.sh also checks the A100 PTX of gpu_kmeans.vx. Metal outputs are bit-identical for all 902 arrays of the GPU check cases; check_gpu_l2.py and the native suite pass. The CUDA library links with -z defs on Linux but has not run on an NVIDIA GPU. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.