Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion .github/scripts/therock_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"projects/rocthrust": "prim",
"projects/hipcub": "prim",
"projects/rocrand": "rand",
"projects/hiprand": "rand"
"projects/hiprand": "rand",
"projects/composablekernel": "composablekernel"
}

project_map = {
Expand All @@ -20,4 +21,19 @@
"project_to_test": "rocrand, hiprand",
"subtree_checkout": "projects/rocrand\nprojects/hiprand",
},
"composablekernel": {
"cmake_options": "-DTHEROCK_ENABLE_COMPOSABLE_KERNEL=ON -DTHEROCK_ENABLE_MIOPEN=ON -DTHEROCK_ENABLE_ALL=OFF",
"project_to_test": "miopen",
"subtree_checkout": """
projects/composablekernel

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unfortunately, we need all these libraries to build for miopen to test miopen

projects/hipblaslt
projects/hipblas
projects/hipblas-common
projects/rocblas
projects/rocrand
projects/hiprand
shared/mxdatagenerator
shared/rocroller
shared/tensile""",
}
}
7 changes: 7 additions & 0 deletions .github/workflows/therock-ci-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:
with:
repository: "ROCm/TheRock"
path: "TheRock"
ref: "users/geomin12/monorepo-ck"

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will delete after (ROCm/TheRock#1181) goes through


- name: Runner Health Settings
run: |
Expand All @@ -71,6 +72,12 @@ jobs:
run: |
./TheRock/build_tools/fetch_sources.py --jobs 12 --no-include-math-libs

- name: Patch monorepo
run: |
python TheRock/build_tools/patch_rocm_libraries.py \
--repo ./ \
--projects rocBLAS hipBLASLt hipBLAS

- name: Install python deps
run: |
pip install -r TheRock/requirements.txt
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/therock-ci-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
with:
repository: "ROCm/TheRock"
path: "TheRock"
ref: "users/geomin12/monorepo-ck"

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will delete after (ROCm/TheRock#1181) goes through


- name: Set up Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/therock-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,6 @@ jobs:
sparse-checkout: .github
sparse-checkout-cone-mode: true

# # will be needed for `patch_monorepo.py` but necessary now
# - name: Checkout TheRock Repository
# uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
# with:
# repository: "ROCm/TheRock"
# path: "TheRock"
# ref: 0730cccf8b98e012d64750f26032bd760360fa45

- name: Set up Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
Expand All @@ -58,12 +50,6 @@ jobs:
python -m pip install --upgrade pip
pip install pydantic requests

# # For our "rocPRIM" MVP, there are no patches to apply. This will be un-commented and used later!
# - name: Patch monorepo
# run: |
# python TheRock/build_tools/github_actions/patch_monorepo.py \
# --repo rocm-libraries

- name: Detect changed subtrees
id: detect
if: github.event_name == 'pull_request'
Expand Down
Loading