feat(hpc): implement jitson shopping list — SIMD upgrades + terrain t…#30
Merged
Conversation
…emplates Phase 1: AVX-512 upgrades to byte_scan (64 bytes/cycle), property_mask (VPTERNLOGD + VPOPCNTDQ), and palette_codec (generic unpack/pack all bit widths 1-8). Phase 2: nibble.rs gets AVX2 batch unpack (32 nibbles/cycle), AVX2 threshold scan, AVX-512 sub_clamp (128 nibbles/cycle), and new nibble_propagate_bfs composing existing SIMD kernels for light BFS decay. Phase 3: aabb.rs gets AVX-512 batch intersect (16 candidates/iter) and new Ray struct + ray_aabb_slab_test_batch for projectile collision. Phase 4: spatial_hash.rs gets query_radius_simd with AVX2 batch squared distance filtering. Phase 5: jitson/noise.rs gets TerrainFillParams (baked biome params for JIT terrain fill) and CompiledNoiseConfig (flattened octave params for JIT compilation). All SIMD paths dispatch at runtime (AVX-512 > AVX2 > scalar), include SAFETY comments, and have parity tests. 1219 lib tests pass, clippy clean. https://claude.ai/code/session_01CdqyUTUfjKZuk8YGJzv6LB
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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.
…emplates
Phase 1: AVX-512 upgrades to byte_scan (64 bytes/cycle), property_mask (VPTERNLOGD + VPOPCNTDQ), and palette_codec (generic unpack/pack all bit widths 1-8).
Phase 2: nibble.rs gets AVX2 batch unpack (32 nibbles/cycle), AVX2 threshold scan, AVX-512 sub_clamp (128 nibbles/cycle), and new nibble_propagate_bfs composing existing SIMD kernels for light BFS decay.
Phase 3: aabb.rs gets AVX-512 batch intersect (16 candidates/iter) and new Ray struct + ray_aabb_slab_test_batch for projectile collision.
Phase 4: spatial_hash.rs gets query_radius_simd with AVX2 batch squared distance filtering.
Phase 5: jitson/noise.rs gets TerrainFillParams (baked biome params for JIT terrain fill) and CompiledNoiseConfig (flattened octave params for JIT compilation).
All SIMD paths dispatch at runtime (AVX-512 > AVX2 > scalar), include SAFETY comments, and have parity tests. 1219 lib tests pass, clippy clean.
https://claude.ai/code/session_01CdqyUTUfjKZuk8YGJzv6LB