-
Notifications
You must be signed in to change notification settings - Fork 75
Integrate PTI callback interface and build it from sources #5289
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
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
2ea9563
[DEBUG] Integrate PTI callback interface and build it from sources
anmyachev 1642cd3
fix UTs
anmyachev 144ab77
add TRITON_XPUPTI_LIB_PATH
anmyachev 17de806
another commit
anmyachev cee025e
Revert "another commit"
anmyachev 44e3dd3
passing PTI libs dir via 'GITHUB_OUTPUT'
anmyachev a34823b
just move PTI build into 'integration-tests' job
anmyachev 9064ee9
Apply suggestion from @anmyachev
anmyachev fd37e36
cleanup && add pti.txt
anmyachev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| 15a201d25e5659692613b98ee33513263b689101 |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -285,9 +285,22 @@ jobs: | |
| run: | | ||
| echo "TRITON_TEST_CMD=${{ needs.build.outputs.test-triton-command }}" | tee -a $GITHUB_ENV | ||
|
|
||
| - name: Run Proton tests | ||
| - name: Build PTI && Run Proton tests | ||
| if: matrix.suite == 'rest' && inputs.driver_version == 'rolling' && inputs.device == 'max1100' | ||
| run: | | ||
| PTI_COMMIT_ID="$(<.github/pins/pti.txt)" | ||
| git clone https://github.com/intel/pti-gpu.git | ||
| cd pti-gpu | ||
| git checkout $PTI_COMMIT_ID | ||
| cd sdk | ||
| cmake --preset linux-icpx-release | ||
| BUILD_TESTING=1 PTI_BUILD_SAMPLES=1 cmake --build --preset linux-icpx-release | ||
|
|
||
| PTI_LIBS_DIR="$(pwd)/build-linux-icpx-release/lib/" | ||
| cd ../.. | ||
|
|
||
| export LD_LIBRARY_PATH=$PTI_LIBS_DIR:$LD_LIBRARY_PATH | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This version of PTI requires ze loader 1.24.2 dependency, while agama 1146 includes 1.21.* (however 1188 includes 1.24.* so most likely there is no problem with this), which is likely why this variable needs to be used for the tests to work. |
||
| export TRITON_XPUPTI_LIB_PATH=$PTI_LIBS_DIR | ||
| cd third_party/proton/test | ||
| # FIXME: enable 'test_record.py' back | ||
| pytest test_api.py test_lib.py test_profile.py test_viewer.py -s -v | ||
|
|
||
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.