-
Notifications
You must be signed in to change notification settings - Fork 265
Add miopen-plugin project to TheRock #1811
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
37 commits
Select commit
Hold shift + click to select a range
1273926
Add hipDNN to TheRock
BrianHarrisonAMD dcd5026
Merge branch 'main' into users/bharriso/add-hipdnn
SamuelReeder a2c3c99
Merge branch 'main' into users/bharriso/add-hipdnn
BrianHarrisonAMD 52b1b45
add hipDNN flag to documentation
BrianHarrisonAMD 21eb0f0
Update TheRock tests for hipDNN
BrianHarrisonAMD ef89608
Fix path for testing artifacts
BrianHarrisonAMD faf0a86
Merge branch 'main' into users/bharriso/add-hipdnn
BrianHarrisonAMD f7083bd
Add miopen-plugin project to TheRock
BrianHarrisonAMD f22a54e
Remove unneccessarry build flags
BrianHarrisonAMD 00c77a9
add hipDNN to Windows support subprojects
BrianHarrisonAMD e31a80e
Fix arg name
BrianHarrisonAMD 01751bf
Update args for fetch script
BrianHarrisonAMD ad27ec9
Merge branch 'main' into users/bharriso/add-hipdnn
BrianHarrisonAMD 8ae5c16
Merge branch 'users/bharriso/add-hipdnn' into users/bharriso/add-miop…
BrianHarrisonAMD aca0ff8
Update CMakeLists.txt
BrianHarrisonAMD 9c00f50
Merge branch 'users/bharriso/add-hipdnn' into users/bharriso/add-miop…
BrianHarrisonAMD 4ed1ad0
Add note to track hipDNN windows support issue
BrianHarrisonAMD c7f149a
Merge remote-tracking branch 'origin/main' into users/bharriso/add-hi…
BrianHarrisonAMD 306e478
Merge branch 'users/bharriso/add-hipdnn' into users/bharriso/add-miop…
BrianHarrisonAMD ff99335
Merge remote-tracking branch 'origin/main' into users/bharriso/add-mi…
BrianHarrisonAMD 9b6c613
Merge branch 'main' into users/bharriso/add-miopen-plugin
BrianHarrisonAMD 47859da
Add smoke tests for miopen_plugin
BrianHarrisonAMD 7cf5163
Fix comment spacing
BrianHarrisonAMD 0a39f4b
Merge branch 'main' into users/bharriso/add-miopen-plugin
BrianHarrisonAMD d766187
Hardcode timeout and remove logging since it's handled generically by…
BrianHarrisonAMD 2ebc4e7
Fix comments
BrianHarrisonAMD 1e8aeac
Merge branch 'main' into users/bharriso/add-miopen-plugin
BrianHarrisonAMD b3be733
Merge branch 'main' into users/bharriso/add-miopen-plugin
BrianHarrisonAMD 902995c
Merge branch 'main' into users/bharriso/add-miopen-plugin
BrianHarrisonAMD 85a1e5a
Merge branch 'main' into users/bharriso/add-miopen-plugin
BrianHarrisonAMD 369019f
Add Windows support documentation for MIOpen plugin
BrianHarrisonAMD 9cb1641
Merge remote-tracking branch 'origin/main' into users/bharriso/add-mi…
BrianHarrisonAMD 9f4e56e
Merge branch 'main' into users/bharriso/add-miopen-plugin
BrianHarrisonAMD 7f07b41
Merge branch 'main' into users/bharriso/add-miopen-plugin
BrianHarrisonAMD 1c2638c
Merge branch 'main' into users/bharriso/add-miopen-plugin
BrianHarrisonAMD a8f06df
Update testing time outs for hipDNN
BrianHarrisonAMD 570de95
Merge branch 'main' into users/bharriso/add-miopen-plugin
BrianHarrisonAMD 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
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
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
39 changes: 39 additions & 0 deletions
39
build_tools/github_actions/test_executable_scripts/test_miopen_plugin.py
|
BrianHarrisonAMD marked this conversation as resolved.
|
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,39 @@ | ||
| import logging | ||
| import os | ||
| import shlex | ||
| import subprocess | ||
| from pathlib import Path | ||
|
|
||
| THEROCK_BIN_DIR = os.getenv("THEROCK_BIN_DIR") | ||
| SCRIPT_DIR = Path(__file__).resolve().parent | ||
| THEROCK_DIR = SCRIPT_DIR.parent.parent.parent | ||
|
|
||
| logging.basicConfig(level=logging.INFO) | ||
|
|
||
| cmd = [ | ||
| "ctest", | ||
| "--test-dir", | ||
| f"{THEROCK_BIN_DIR}/miopen_legacy_plugin", | ||
| "--output-on-failure", | ||
| "--parallel", | ||
| "8", | ||
| "--timeout", | ||
| "600", | ||
| ] | ||
|
|
||
| # Determine test filter based on TEST_TYPE environment variable | ||
| environ_vars = os.environ.copy() | ||
| test_type = os.getenv("TEST_TYPE", "full") | ||
|
|
||
| if test_type == "smoke": | ||
| # Exclude tests that start with "Full" during smoke tests | ||
| environ_vars["GTEST_FILTER"] = "-Full*" | ||
|
|
||
| logging.info(f"++ Exec [{THEROCK_DIR}]$ {shlex.join(cmd)}") | ||
|
|
||
| subprocess.run( | ||
| cmd, | ||
| cwd=THEROCK_DIR, | ||
| check=True, | ||
| env=environ_vars, | ||
| ) |
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.
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.