Skip to content

Commit

Permalink
Merge pull request #3 from tenstorrent/olofj/fix-lspci
Browse files Browse the repository at this point in the history
hugepages-setup: fix lspci arguments
  • Loading branch information
warthog9 authored Jul 17, 2024
2 parents 1311b1b + 32753a8 commit 2a7675b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/buildrelease-deb-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-tags: true
fetch-depth: 0
- run: git tag
- run: gbp buildpackage --git-ignore-branch

- name: Move Debian packages
run: mkdir -p artifacts && mv ../*.deb artifacts/
- name: Set environment variable for deb filename
id: deb_filename
run: echo "DEB_FILENAME=$(basename artifacts/*.deb)" >> $GITHUB_ENV
- name: Upload Debian package
uses: actions/upload-artifact@v3
with:
name: ${{ env.DEB_FILENAME }}
path: artifacts/*.deb
5 changes: 5 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
tenstorrent-tools (1.1-6) UNRELEASED; urgency=medium
* Fix usage of lspci -d arguments

-- Olof Johansson <[email protected]> Wed, 17 Jul 2024 13:53:38 -0700

tenstorrent-tools (1.1-5) UNRELEASED; urgency=medium
* Cleanups relating to text in the repository

Expand Down
8 changes: 4 additions & 4 deletions hugepages-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
# For every Wormhole we allocate a full 4x1G pages, maximize the
# aperture between device and host.

TT_VID=0x1e52
GS_PID=0xfaca
WH_PID=0x401e
BH_PID=0xb140
TT_VID=1e52
GS_PID=faca
WH_PID=401e
BH_PID=b140

# Two arguments: VIDPID to lspci, and multiplier per card found.
# Returns: <node> <pages>, one per line per card
Expand Down

0 comments on commit 2a7675b

Please sign in to comment.