Skip to content

Commit

Permalink
add hardware topology module (#105)
Browse files Browse the repository at this point in the history
* add hwloc wrapper
* add topology module
* add show_topology example
* update build.rs to build and link hwloc statically
* generate hwloc bindings
* add HardwareTopologyHint trait
  • Loading branch information
bg-furiosa authored Apr 23, 2024
1 parent eebaf7e commit 1e45fa8
Show file tree
Hide file tree
Showing 13 changed files with 2,332 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install components
- name: Install rust components
run: rustup component add clippy rustfmt
- name: lint
run: cargo fmt --all --check && cargo -q clippy --all-targets --features blocking -- -D rust_2018_idioms -D warnings
Expand Down
Loading

0 comments on commit 1e45fa8

Please sign in to comment.