Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor CPU module #1268

Merged
merged 12 commits into from
Nov 15, 2024
Merged

Refactor CPU module #1268

merged 12 commits into from
Nov 15, 2024

Conversation

sunnycase
Copy link
Member

  • Add basic distributed abstraction (tid, bid, cid)
    • threads for cores w/ cache-coherence in the same NUMA node
    • blocks for different NUMA nodes w/wo cache-coherence
    • chips for different servers
  • Build shared library for ntt module
  • Spawn threads in ntt module & process in cpu runtime (not implemented yet)
  • Use pthread_key_t on Mac to workaround thread_local destorying bugs (Unloading a Rust dylib with TLS used segfaults on OSX rust-lang/rust#28794)

@sunnycase sunnycase closed this Nov 14, 2024
@sunnycase sunnycase reopened this Nov 14, 2024
Copy link

Test Results

5 113 tests  ±0   5 113 ✅ ±0   1h 20m 39s ⏱️ + 1m 42s
    5 suites ±0       0 💤 ±0 
    5 files   ±0       0 ❌ ±0 

Results for commit 7d0b6a7. ± Comparison against base commit daf719c.

@sunnycase sunnycase merged commit ccf4387 into dev/3.0 Nov 15, 2024
18 checks passed
@sunnycase sunnycase deleted the feature/move_threads branch November 15, 2024 01:11
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.

1 participant