GPU-native AtomSpace Phase 0-1: hash table + pool layouts - #3
Open
plankatron wants to merge 1 commit into
Open
Conversation
Phase 0: Lock-free FNV-1a hash table with CAS-based insert for O(1) atom identity lookups on GPU. Handles collisions with linear probing and supports concurrent writers. Phase 1: SoA (Structure of Arrays) pool management for WordPool, PairPool, and SectionPool. Atomic allocation with gpu_pool_alloc(), capacity tracking, and efficient GPU-side memory layout. Includes comprehensive C test suites for both components. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This was referenced Feb 9, 2026
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
GPU-resident data structures for the AtomSpace pipeline — the foundation layer that all subsequent kernels build on.
WordPool,PairPool, andSectionPool. Atomic allocation viagpu_pool_alloc(), capacity tracking, and efficient GPU-side memory layout.Pipeline Position
This is Phase 0-1 of the GPU-native AtomSpace pipeline:
Files
gpu-hashtable.clgpu-atomspace.cltest-hashtable.ctest-atomspace.c.gitignoreBuilding & Testing
Relationship to Prior Work
Builds on PR #2 (binary caching + dispatch thread build), which was merged as
2a9c544. These kernels benefit from the binary caching infrastructure for faster program load times.🤖 Generated with Claude Code