Skip to content
Merged
Show file tree
Hide file tree
Changes from 81 commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
dc4ff25
Enable test builds for rocprofiler-compute, updated artifact subproje…
jbonnell-amd Nov 25, 2025
7049feb
Add rocprofiler options to installing_artifacts.md
jbonnell-amd Nov 25, 2025
0513e22
Add test_rocprofiler_compute.py, updated fetch_test_configurations.py
jbonnell-amd Nov 25, 2025
04a62d1
Formatting changes for installing_artifacts.md
jbonnell-amd Nov 25, 2025
378cbe8
Fix job_name in rocprofiler_compute test
jbonnell-amd Nov 26, 2025
018f4e4
Add ROCM_PATH to test_rocprofiler_compute.py, update test dir path
jbonnell-amd Nov 26, 2025
d0179f0
Remove tests suffix from test-dir path
jbonnell-amd Nov 26, 2025
dab6af3
Formatting change in test_rocprofiler_compute.py
jbonnell-amd Nov 26, 2025
d0f0844
Merge branch 'main' into users/jbonnell-amd/rocprofiler-compute-tests
jbonnell-amd Nov 28, 2025
872ad95
Merge branch 'main' into users/jbonnell-amd/rocprofiler-compute-tests
jbonnell-amd Dec 8, 2025
8631762
Add TEST_FROM_INSTALL CMake arg to rocprofiler-compute
jbonnell-amd Dec 8, 2025
bc69dd8
Merge branch 'main' into users/jbonnell-amd/rocprofiler-compute-tests
jbonnell-amd Dec 9, 2025
11588ae
Merge branch 'main' into users/jbonnell-amd/rocprofiler-compute-tests
jbonnell-amd Dec 11, 2025
cb91113
Merge branch 'main' into users/jbonnell-amd/rocprofiler-compute-tests
jbonnell-amd Dec 15, 2025
a503de3
Merge branch 'main' into users/jbonnell-amd/rocprofiler-compute-tests
jbonnell-amd Dec 19, 2025
14b6c0f
Add pip install requirements for compute
jbonnell-amd Dec 29, 2025
71d1a57
Merge branch 'main' into users/jbonnell-amd/rocprofiler-compute-tests
jbonnell-amd Dec 29, 2025
b6afee3
Add PYTHONPATH env variable, test requirements install
jbonnell-amd Dec 29, 2025
1b2f7c0
Merge branch 'main' into users/jbonnell-amd/rocprofiler-compute-tests
jbonnell-amd Dec 29, 2025
c874209
Combine both requirement installs in one command
jbonnell-amd Dec 29, 2025
cd9753a
Add extra step in action.yml to install compute python requirements
jbonnell-amd Dec 30, 2025
32c50b1
Merge branch 'main' into users/jbonnell-amd/rocprofiler-compute-tests
jbonnell-amd Dec 31, 2025
02eb4a5
Disable gfx906 support for rocprofiler-compute
jbonnell-amd Dec 31, 2025
206e790
disable amdgpu targets for testing
jbonnell-amd Dec 31, 2025
cd78323
Update rocprofiler-compute to exclude all gfx90X families
jbonnell-amd Jan 2, 2026
f8f8529
Add DEFAULT_GPU_TARGETS to rocprofiler-compute
jbonnell-amd Jan 5, 2026
b8e91d5
Merge branch 'main' into users/jbonnell-amd/rocprofiler-compute-tests
jbonnell-amd Jan 13, 2026
dc6d954
Update amdgpu_targets for rocprofiler-compute
jbonnell-amd Jan 13, 2026
0ea61a0
Add PATH to test_rocprofiler_compute.py to try and address rocminfo e…
jbonnell-amd Jan 13, 2026
3fb442b
Change cwd, add LB_LIBRARY_PATH to test_rocprofiler_compute.py
jbonnell-amd Jan 14, 2026
d18097a
Merge branch 'main' into users/jbonnell-amd/rocprofiler-compute-tests
jbonnell-amd Jan 14, 2026
feeda99
Remove --test-dir option from ctest, run directly from test directory
jbonnell-amd Jan 14, 2026
ad6fa38
Add absolute paths to test_rocprofiler_compute.py
jbonnell-amd Jan 15, 2026
a4bd8dd
Add rocprofiler-sdk dependency for compute tests
jbonnell-amd Jan 15, 2026
0cce7ec
Add debug print statements
jbonnell-amd Jan 16, 2026
257569a
Change default GPU target to gfx942 for rocprofiler-compute
jbonnell-amd Jan 16, 2026
86f04ca
Fix issue in PYTHONPATH
jbonnell-amd Jan 16, 2026
d988e37
Refactor environment setup, paths
jbonnell-amd Jan 16, 2026
9ee4f9c
Update SDK test artifact to include python modules for compute
jbonnell-amd Jan 19, 2026
f5e9231
Merge branch 'main' into users/jbonnell-amd/rocprofiler-compute-tests
jbonnell-amd Jan 19, 2026
df38263
Update environ_vars in test_rocprofiler_compute.py
jbonnell-amd Jan 19, 2026
a5f153f
Remove parallel to debug timeouts
jbonnell-amd Jan 20, 2026
f63badf
Add rocprofiler-sdk option to installing_artifacts.md
jbonnell-amd Jan 20, 2026
dfa74a2
Clean up test_rocprofiler_compute.py, add verbose output in pytest co…
jbonnell-amd Jan 20, 2026
2203efe
Merge branch 'main' into users/jbonnell-amd/rocprofiler-compute-tests
jbonnell-amd Jan 20, 2026
6f1fc72
Add back parallel ctest run, reduce timeout to 600s
jbonnell-amd Jan 20, 2026
f3fa9c0
Add verbose output
jbonnell-amd Jan 21, 2026
43c79aa
Update test artifacts in artifact-rocprofiler-sdk.toml to include run…
jbonnell-amd Jan 21, 2026
96554fc
Add temporary workaround for pandas issues in action.yml
jbonnell-amd Jan 22, 2026
5ebf1af
Add temp fix for fixing path issue in test_autogen_config.py
jbonnell-amd Jan 22, 2026
f6465a4
Disable test_profile_pc_sampling test due to Jira issue
jbonnell-amd Jan 23, 2026
6082b1d
Remove --parallel 8 option from ctest to avoid profile errors
jbonnell-amd Jan 23, 2026
22fe730
Merge branch 'main' into users/jbonnell-amd/rocprofiler-compute-tests
jbonnell-amd Jan 23, 2026
51c392e
Minor code cleanup on test_rocprofiler_compute.py
jbonnell-amd Jan 23, 2026
e6ab913
Merge branch 'main' into users/jbonnell-amd/rocprofiler-compute-tests
jbonnell-amd Jan 23, 2026
2e854bb
Remove temporary sed commands from action.yml
jbonnell-amd Feb 4, 2026
f9fee90
Merge branch 'main' into users/jbonnell-amd/rocprofiler-compute-tests
jbonnell-amd Feb 4, 2026
64a1d79
Merge branch 'main' into users/jbonnell-amd/rocprofiler-compute-tests
jbonnell-amd Feb 10, 2026
2052f4e
Add setup scripts for fetch_test_configurations.py
jbonnell-amd Feb 10, 2026
97a3eef
Revert changes to artifact-rocprofiler-sdk.toml, update install_rocm_…
jbonnell-amd Feb 10, 2026
e02af57
Add sharding and smoke test support to test_rocprofiler_compute.py
jbonnell-amd Feb 17, 2026
605607d
Merge branch 'main' into users/jbonnell-amd/rocprofiler-compute-tests
jbonnell-amd Feb 17, 2026
bf4faa0
Add rocprofiler_sdk to args check
jbonnell-amd Feb 17, 2026
3f966f7
Merge branch 'main' into users/jbonnell-amd/rocprofiler-compute-tests
jbonnell-amd Feb 17, 2026
3e1ee69
Add template for requirements files setup in test_componnet.yml
jbonnell-amd Feb 17, 2026
c16068e
Removed old instance of _get_script_path
jbonnell-amd Feb 17, 2026
76542db
Fix spacing issue in setup requirements stage
jbonnell-amd Feb 18, 2026
62e3bf9
Change python command in setup requirements
jbonnell-amd Feb 18, 2026
2febf28
Update setup requirements again
jbonnell-amd Feb 18, 2026
c49255d
Add test_profile_iteration_multiplexing_1 to smoke tests
jbonnell-amd Feb 18, 2026
0e16201
Add --tests-regex arg on smoke tests, address other feedback
jbonnell-amd Feb 19, 2026
aeb0a5a
Fix issue with paths in test_rocprofiler_compute.py
jbonnell-amd Feb 19, 2026
6a13bae
Merge branch 'main' into users/jbonnell-amd/rocprofiler-compute-tests
jbonnell-amd Feb 20, 2026
94dda5c
Remove duplicate rocprofiler-sdk entries in install_rocm_from_artifac…
jbonnell-amd Feb 20, 2026
a01730f
Fix cmd.append() command
jbonnell-amd Feb 20, 2026
b5e0c88
Remove DEFAULT_GPU_TARGETS from compute to debug build error
jbonnell-amd Feb 23, 2026
a9bf307
Add install_requirements.py, updated test_component.yml
jbonnell-amd Feb 23, 2026
a70b7ce
Fix typo in test_component.yml
jbonnell-amd Feb 23, 2026
93da344
Update exit code for no input in install_requirements.py
jbonnell-amd Feb 23, 2026
b25961d
Merge branch 'main' into users/jbonnell-amd/rocprofiler-compute-tests
jbonnell-amd Feb 24, 2026
35c6726
Remove PYTHONPATH env vars from test_rocprofiler_compute.py
jbonnell-amd Feb 24, 2026
4c946a9
Rename install_requirements.py, changed additional_requirements_files…
jbonnell-amd Feb 25, 2026
f1330f0
Rename requirements_files in fetch_test_configurations.py
jbonnell-amd Feb 25, 2026
3f50e59
Change to uv pip install in install_additional_requirements.py
jbonnell-amd Feb 25, 2026
4603da7
Change array to comma separated list in test_component.yml
jbonnell-amd Feb 25, 2026
9dac2f6
Remove setup_pip() function from install_additional_requirements.py
jbonnell-amd Feb 25, 2026
601aa75
Merge branch 'main' into users/jbonnell-amd/rocprofiler-compute-tests
jbonnell-amd Feb 25, 2026
0864ffe
Change CMake args to debug build errors
jbonnell-amd Feb 26, 2026
6aa966d
Update BUILD_TEST value
jbonnell-amd Feb 26, 2026
94c0d53
Update CMake args in CMakeLists.txt for rocprofiler-compute
jbonnell-amd Feb 26, 2026
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
5 changes: 5 additions & 0 deletions .github/workflows/test_component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,11 @@ jobs:
run: |
python ./build_tools/print_driver_gpu_info.py

- name: Setup Requirements
Comment thread
jbonnell-amd marked this conversation as resolved.
Outdated
run: |
Comment thread
jbonnell-amd marked this conversation as resolved.
python ./build_tools/install_requirements.py \
--requirements-files=${{ fromJSON(inputs.component).requirements_files }}
Comment thread
jbonnell-amd marked this conversation as resolved.
Outdated

- name: Test
timeout-minutes: ${{ fromJSON(inputs.component).timeout_minutes }}
env:
Expand Down
10 changes: 10 additions & 0 deletions build_tools/github_actions/fetch_test_configurations.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,16 @@ def _get_script_path(script_name: str) -> str:
"platform": ["linux", "windows"],
"total_shards": 5,
},
# rocprofiler-compute tests
"rocprofiler-compute": {
"job_name": "rocprofiler_compute",
"fetch_artifact_args": "--rocprofiler-compute --rocprofiler-sdk --tests",
"timeout_minutes": 60,
"requirements_files": "libexec/rocprofiler-compute/requirements.txt,libexec/rocprofiler-compute/requirements-test.txt",
Comment thread
jbonnell-amd marked this conversation as resolved.
Outdated
Comment thread
jbonnell-amd marked this conversation as resolved.
Outdated
"test_script": f"python {_get_script_path('test_rocprofiler_compute.py')} -v",
"platform": ["linux"],
"total_shards": 2,
},
# libhipcxx hipcc tests
"libhipcxx_hipcc": {
"job_name": "libhipcxx_hipcc",
Expand Down
Comment thread
jbonnell-amd marked this conversation as resolved.
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
import logging
import os
import shlex
import subprocess
from pathlib import Path

# Resolve paths
THEROCK_BIN_DIR = os.getenv("THEROCK_BIN_DIR")
OUTPUT_ARTIFACTS_DIR = os.getenv("OUTPUT_ARTIFACTS_DIR")
SCRIPT_DIR = Path(__file__).resolve().parent
THEROCK_DIR = SCRIPT_DIR.parent.parent.parent
Comment thread
jbonnell-amd marked this conversation as resolved.

THEROCK_BIN_PATH = Path(THEROCK_BIN_DIR).resolve()
THEROCK_PATH = THEROCK_BIN_PATH.parent
THEROCK_LIB_PATH = str(THEROCK_PATH / "lib")
ROCPROFILER_COMPUTE_DIRECTORY = THEROCK_PATH / "libexec" / "rocprofiler-compute"

# Set up ROCM_PATH
environ_vars = os.environ.copy()
environ_vars["ROCM_PATH"] = str(THEROCK_PATH)

# Set up PATH
old_path = os.getenv("PATH", "")
Comment thread
jbonnell-amd marked this conversation as resolved.
rocm_bin = str(THEROCK_BIN_PATH)
if old_path:
environ_vars["PATH"] = f"{rocm_bin}:{old_path}"
else:
environ_vars["PATH"] = rocm_bin

# Set up LD_LIBRARY_PATH
old_ld_lib_path = os.getenv("LD_LIBRARY_PATH", "")
Comment thread
jbonnell-amd marked this conversation as resolved.
sysdeps_path = f"{THEROCK_LIB_PATH}/rocm_sysdeps/lib"
if old_ld_lib_path:
environ_vars["LD_LIBRARY_PATH"] = (
f"{THEROCK_LIB_PATH}:{sysdeps_path}:{old_ld_lib_path}"
)
else:
environ_vars["LD_LIBRARY_PATH"] = f"{THEROCK_LIB_PATH}:{sysdeps_path}"

# Set up excluded tests (include Jiras)
# AIPROFSDK-36: rocr issue causing test to fail
EXCLUDED_TESTS = [
"test_profile_pc_sampling",
]

# Sharding
shard_index = int(os.getenv("SHARD_INDEX", "1")) - 1
total_shards = int(os.getenv("TOTAL_SHARDS", "1"))

# Smoke Tests Setup
SMOKE_TESTS = [
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@vedithal-amd any feedback on this selection for smoke tests? We want a subset of tests to run in the regular CI with a shorter runtime (this current set takes about 10 minutes, don't want much longer than that), and the full suite will run on nightly runs. I just chose the non-profiling ones to run as smoke for now due to their shorter runtime, but open to switching these to a wider range if that would be preferred.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What is the point of smoke tests, will this run on every PR?
If that is the case, I agree with running only these smoke tests instead of all tests for every PR.

This list looks good to me, lets also add test_profile_iteration_multiplexing_1 to make it exhaustive (all tests scripts covered). This one is pretty quick and should be fine to add.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Comment thread
jbonnell-amd marked this conversation as resolved.
"test_autogen_config",
"test_utils",
"test_num_xcds_cli_output",
"test_num_xcds_spec_class",
"test_L1_cache_counters",
"test_analyze_workloads",
"test_analyze_commands",
"test_metric_validation",
"test_profile_iteration_multiplexing_1",
]

# Run tests
cmd = [
"ctest",
"--test-dir",
f"{ROCPROFILER_COMPUTE_DIRECTORY}",
Comment thread
jbonnell-amd marked this conversation as resolved.
"--output-on-failure",
"--verbose",
"--exclude-regex",
f"{"|".join(EXCLUDED_TESTS)}",
"--tests-information",
f"{shard_index},,{total_shards}",
]

# If smoke tests are enabled, we run smoke tests only.
# Otherwise, we run the normal test suite
test_type = os.getenv("TEST_TYPE", "full")
if test_type == "smoke":
cmd.append("--tests-regex")
cmd.append("|".join(SMOKE_TESTS))

logging.info(f"++ Exec [{THEROCK_PATH}]$ {shlex.join(cmd)}")
subprocess.run(
cmd,
cwd=THEROCK_PATH,
check=True,
env=environ_vars,
)
67 changes: 67 additions & 0 deletions build_tools/install_requirements.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
#!/usr/bin/env python

import argparse
import logging
import os
import shlex
import subprocess
from pathlib import Path
import sys

SCRIPT_DIR = Path(__file__).resolve().parent
THEROCK_DIR = SCRIPT_DIR.parent
THEROCK_OUTPUT_DIR = str(THEROCK_DIR / "build")


def setup_pip():
environ_vars = os.environ.copy()

setup_cmd = [
sys.executable,
"-m",
"ensurepip",
"--upgrade",
]
logging.info(f"++ Exec [{THEROCK_DIR}]$ {shlex.join(setup_cmd)}")
subprocess.run(setup_cmd, cwd=THEROCK_DIR, check=True, env=environ_vars)


def install_requirements(input: str):
environ_vars = os.environ.copy()

requirements_files = input.split(",")

for file in requirements_files:
cmd = [
sys.executable,
"-m",
"pip",
"install",
"-r",
f"{THEROCK_OUTPUT_DIR}/{file}",
]
logging.info(f"++ Exec [{THEROCK_DIR}]$ {shlex.join(cmd)}")
subprocess.run(cmd, cwd=THEROCK_DIR, check=True, env=environ_vars)


def main(argv):
parser = argparse.ArgumentParser()
parser.add_argument(
"--requirements-files",
type=str,
default="",
help="A comma separated list of requirements.txt files to install",
)
args = parser.parse_args(argv)
if not args.requirements_files:
logging.info(
"No requirements file(s) found. Exiting install_requirements.py..."
)
sys.exit(0)

setup_pip()
install_requirements(str(args.requirements_files))


if __name__ == "__main__":
main(sys.argv[1:])
10 changes: 6 additions & 4 deletions build_tools/install_rocm_from_artifacts.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
[--rocdecode | --no-rocdecode]
[--rocjpeg | --no-rocjpeg]
[--rocprofiler-compute | --no-rocprofiler-compute]
[--rocprofiler-sdk | --no-rocprofiler-sdk ]
[--rocprofiler-systems | --no-rocprofiler-systems]
[--rocrtst | --no-rocrtst]
[--rocwmma | --no-rocwmma]
Expand Down Expand Up @@ -352,6 +353,7 @@ def retrieve_artifacts_by_run_id(args):
args.rocdecode,
args.rocjpeg,
args.rocprofiler_compute,
args.rocprofiler_sdk,
args.rocprofiler_systems,
args.rocrtst,
args.rocwmma,
Expand Down Expand Up @@ -752,16 +754,16 @@ def main(argv):
)

artifacts_group.add_argument(
"--rocprofiler-systems",
"--rocprofiler-sdk",
default=False,
help="Include 'rocprofiler-systems' artifacts",
help="Include 'rocprofiler-sdk' artifacts",
action=argparse.BooleanOptionalAction,
)
Comment thread
jbonnell-amd marked this conversation as resolved.

artifacts_group.add_argument(
"--rocprofiler-sdk",
"--rocprofiler-systems",
default=False,
help="Include 'rocprofiler-sdk' artifacts",
help="Include 'rocprofiler-systems' artifacts",
action=argparse.BooleanOptionalAction,
)

Expand Down
19 changes: 19 additions & 0 deletions cmake/therock_amdgpu_targets.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ therock_add_amdgpu_target(gfx906 "Radeon VII / MI50 CDNA" FAMILY dgpu-all gfx90X
hipSPARSELt # https://github.com/ROCm/TheRock/issues/2042
composable_kernel # https://github.com/ROCm/TheRock/issues/1245
rocWMMA # https://github.com/ROCm/TheRock/issues/1944
rocprofiler-compute # https://github.com/ROCm/TheRock/issues/2892
)
therock_add_amdgpu_target(gfx908 "MI100 CDNA" FAMILY gfx90X-all dcgpu-all gfx90X-dcgpu
EXCLUDE_TARGET_PROJECTS
Expand All @@ -71,20 +72,24 @@ therock_add_amdgpu_target(gfx1010 "AMD RX 5700" FAMILY dgpu-all gfx101X-all gfx1
hipSPARSELt # https://github.com/ROCm/TheRock/issues/2042
composable_kernel # https://github.com/ROCm/TheRock/issues/1245
rocWMMA # https://github.com/ROCm/TheRock/issues/1944
rocprofiler-compute # https://github.com/ROCm/TheRock/issues/2892
)
therock_add_amdgpu_target(gfx1011 "AMD Radeon Pro V520" FAMILY dgpu-all gfx101X-all gfx101X-dgpu
EXCLUDE_TARGET_PROJECTS
hipBLASLt # https://github.com/ROCm/TheRock/issues/1062
hipSPARSELt # https://github.com/ROCm/TheRock/issues/2042
composable_kernel # https://github.com/ROCm/TheRock/issues/1245
rocWMMA # https://github.com/ROCm/TheRock/issues/1944
rocprofiler-compute # https://github.com/ROCm/TheRock/issues/2892
)

therock_add_amdgpu_target(gfx1012 "AMD RX 5500" FAMILY dgpu-all gfx101X-all gfx101X-dgpu
EXCLUDE_TARGET_PROJECTS
hipBLASLt # https://github.com/ROCm/TheRock/issues/1062
hipSPARSELt # https://github.com/ROCm/TheRock/issues/2042
composable_kernel # https://github.com/ROCm/TheRock/issues/1245
rocWMMA # https://github.com/ROCm/TheRock/issues/1944
rocprofiler-compute # https://github.com/ROCm/TheRock/issues/2892
)

# gfx103X family
Expand All @@ -93,6 +98,7 @@ therock_add_amdgpu_target(gfx1030 "AMD RX 6800 / XT" FAMILY dgpu-all gfx103X-all
hipBLASLt # https://github.com/ROCm/TheRock/issues/1062
hipSPARSELt # https://github.com/ROCm/TheRock/issues/2042
rocWMMA # https://github.com/ROCm/TheRock/issues/1944
rocprofiler-compute # https://github.com/ROCm/TheRock/issues/2892
)
therock_add_amdgpu_target(gfx1031 "AMD RX 6700 / XT" FAMILY dgpu-all gfx103X-all gfx103X-dgpu
EXCLUDE_TARGET_PROJECTS
Expand All @@ -105,6 +111,7 @@ therock_add_amdgpu_target(gfx1032 "AMD RX 6600" FAMILY dgpu-all gfx103X-all gfx1
hipBLASLt # https://github.com/ROCm/TheRock/issues/1062
hipSPARSELt # https://github.com/ROCm/TheRock/issues/2042
rocWMMA # https://github.com/ROCm/TheRock/issues/1944
rocprofiler-compute # https://github.com/ROCm/TheRock/issues/2892
)
therock_add_amdgpu_target(gfx1033 "AMD Van Gogh iGPU" FAMILY igpu-all gfx103X-all gfx103X-igpu
EXCLUDE_TARGET_PROJECTS
Expand All @@ -124,63 +131,75 @@ therock_add_amdgpu_target(gfx1035 "AMD Radeon 680M Laptop iGPU" FAMILY igpu-all
hipBLASLt # https://github.com/ROCm/TheRock/issues/1062
hipSPARSELt # https://github.com/ROCm/TheRock/issues/2042
rocWMMA # https://github.com/ROCm/TheRock/issues/1944
rocprofiler-compute # https://github.com/ROCm/TheRock/issues/2892
)
therock_add_amdgpu_target(gfx1036 "AMD Raphael iGPU" FAMILY igpu-all gfx103X-all gfx103X-igpu
EXCLUDE_TARGET_PROJECTS
hipBLASLt # https://github.com/ROCm/TheRock/issues/1062
hipSPARSELt # https://github.com/ROCm/TheRock/issues/2042
rocWMMA # https://github.com/ROCm/TheRock/issues/1944
rocprofiler-compute # https://github.com/ROCm/TheRock/issues/2892
)

# gfx110X family
therock_add_amdgpu_target(gfx1100 "AMD RX 7900 XTX" FAMILY dgpu-all gfx110X-all gfx110X-dgpu
EXCLUDE_TARGET_PROJECTS
hipSPARSELt # https://github.com/ROCm/TheRock/issues/2042
rocprofiler-compute # https://github.com/ROCm/TheRock/issues/2892
)
therock_add_amdgpu_target(gfx1101 "AMD RX 7800 XT" FAMILY dgpu-all gfx110X-all gfx110X-dgpu
EXCLUDE_TARGET_PROJECTS
hipSPARSELt # https://github.com/ROCm/TheRock/issues/2042
rocprofiler-compute # https://github.com/ROCm/TheRock/issues/2892
)
therock_add_amdgpu_target(gfx1102 "AMD RX 7700S/Framework Laptop 16" FAMILY dgpu-all gfx110X-all gfx110X-dgpu
EXCLUDE_TARGET_PROJECTS
hipSPARSELt # https://github.com/ROCm/TheRock/issues/2042
rocprofiler-compute # https://github.com/ROCm/TheRock/issues/2892
)
therock_add_amdgpu_target(gfx1103 "AMD Radeon 780M Laptop iGPU" FAMILY igpu-all gfx110X-all gfx110X-igpu
EXCLUDE_TARGET_PROJECTS
hipSPARSELt # https://github.com/ROCm/TheRock/issues/2042
rccl # https://github.com/ROCm/TheRock/issues/150
rocprofiler-compute # https://github.com/ROCm/TheRock/issues/2892
)

# gfx115X family
therock_add_amdgpu_target(gfx1150 "AMD Strix Point iGPU" FAMILY igpu-all gfx115X-all gfx115X-igpu
EXCLUDE_TARGET_PROJECTS
hipSPARSELt # https://github.com/ROCm/TheRock/issues/2042
rccl # https://github.com/ROCm/TheRock/issues/150
rocprofiler-compute # https://github.com/ROCm/TheRock/issues/2892
)
therock_add_amdgpu_target(gfx1151 "AMD Strix Halo iGPU" FAMILY igpu-all gfx115X-all gfx115X-igpu
EXCLUDE_TARGET_PROJECTS
hipSPARSELt # https://github.com/ROCm/TheRock/issues/2042
rccl # https://github.com/ROCm/TheRock/issues/150
rocprofiler-compute # https://github.com/ROCm/TheRock/issues/2892
)
therock_add_amdgpu_target(gfx1152 "AMD Krackan 1 iGPU" FAMILY igpu-all gfx115X-all gfx115X-igpu
EXCLUDE_TARGET_PROJECTS
hipSPARSELt # https://github.com/ROCm/TheRock/issues/2042
rccl # https://github.com/ROCm/TheRock/issues/150
rocprofiler-compute # https://github.com/ROCm/TheRock/issues/2892
)
therock_add_amdgpu_target(gfx1153 "AMD Radeon 820M iGPU" FAMILY igpu-all gfx115X-all gfx115X-igpu
EXCLUDE_TARGET_PROJECTS
hipSPARSELt # https://github.com/ROCm/TheRock/issues/2042
rccl # https://github.com/ROCm/TheRock/issues/150
rocprofiler-compute # https://github.com/ROCm/TheRock/issues/2892
)

# gfx120X family
therock_add_amdgpu_target(gfx1200 "AMD RX 9060 / XT" FAMILY dgpu-all gfx120X-all
EXCLUDE_TARGET_PROJECTS
hipSPARSELt # https://github.com/ROCm/TheRock/issues/2042
rocprofiler-compute # https://github.com/ROCm/TheRock/issues/2892
)
therock_add_amdgpu_target(gfx1201 "AMD RX 9070 / XT" FAMILY dgpu-all gfx120X-all
EXCLUDE_TARGET_PROJECTS
hipSPARSELt # https://github.com/ROCm/TheRock/issues/2042
rocprofiler-compute # https://github.com/ROCm/TheRock/issues/2892
)

# Optional extension targets (used for out of tree target development).
Expand Down
8 changes: 6 additions & 2 deletions profiler/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,13 @@ endif(THEROCK_BUILD_TESTING)
EXTERNAL_SOURCE_DIR "${THEROCK_ROCM_SYSTEMS_SOURCE_DIR}/projects/rocprofiler-compute"
BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/rocprofiler-compute"
BACKGROUND_BUILD
DEFAULT_GPU_TARGETS
gfx942
CMAKE_ARGS
-DHIP_PLATFORM=amd
-DENABLE_TESTS=ON
Comment thread
jbonnell-amd marked this conversation as resolved.
Outdated
-DINSTALL_TESTS=ON
-DTEST_FROM_INSTALL=ON
-DCHECK_PYTHON_DEPS=OFF
CMAKE_INCLUDES
therock_explicit_finders.cmake
Expand Down Expand Up @@ -192,6 +197,7 @@ endif(THEROCK_BUILD_TESTING)
doc
lib
run
test
SUBPROJECT_DEPS
aqlprofile
rocprofiler-sdk
Expand All @@ -213,8 +219,6 @@ endif(THEROCK_BUILD_TESTING)
aqlprofile
rocprofiler-sdk
rocprofiler-compute
roctracer
${_rocprofiler_sdk_optional_deps}
)

##############################################################################
Expand Down
Loading