feat(simd): cognitive shader re-exports + agent knowledge#108
Merged
Conversation
…e-graph) New knowledge file for ndarray agents. Does NOT overwrite existing SIMD knowledge (bf16_truth, cascade_search, constants, hardware_map, plane_node_seal, reasoning_reverse_eng_results, etc. all intact). Explains ndarray's role as Layer 0 + parts of Layer 1 in the 7-layer cognitive shader stack. Clarifies public surface: ndarray::simd::* is the stable API, ndarray::hpc::* is private implementation detail. Maps rustynum→ndarray type substitutions (migration-tracker agent owns this table). Documents gaps: MultiLaneColumn missing, Fingerprint needs as_u8x64, simd.rs re-exports incomplete. Parallel doc in lance-graph: .claude/knowledge/cognitive-shader-architecture.md https://claude.ai/code/session_01SbYsmmbPf9YQuYbHZN52Zh
ndarray::simd::* now exports: - Fingerprint<N>, Fingerprint2K/1K/64K, VectorWidth, vector_config() - CollapseGate (Flow/Block/Hold) - hamming_distance_raw, popcount_raw - wht_f32, wht_f32_new - quantize/dequantize i4/i2/i8 + QuantParams - kmeans, squared_l2 - cosine_f32_to_f64_simd Consumers import from ndarray::simd::* only. The hpc/ paths stay private. https://claude.ai/code/session_01SbYsmmbPf9YQuYbHZN52Zh
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.
Summary
ndarray::simd::*Consumers import from
ndarray::simd::*only. Thehpc/paths stay private implementation detail.Test plan
cargo check— compiles cleanhttps://claude.ai/code/session_01SbYsmmbPf9YQuYbHZN52Zh