Commit Graph

37731 Commits

Author SHA1 Message Date
Madsen, Jonathan 99e262ca4a [CI] Disable conversion script validation (#492)
- pytest fails when you selectively disable all the tests in the suite
2025-06-30 17:02:53 -05:00
Kuricheti, Mythreya 0b003260fa [SDK] Filter agents that are not CPU or GPU (#374)
* Filter HSA agents

* Review comments

[ROCm/rocprofiler-sdk commit: 7842dfe839]
2025-06-30 15:54:48 -05:00
Kuricheti, Mythreya 7842dfe839 [SDK] Filter agents that are not CPU or GPU (#374)
* Filter HSA agents

* Review comments
2025-06-30 15:54:48 -05:00
Madsen, Jonathan fb51f0e5d4 [CI] Disable other unstable tests (#491)
Disable other unstable tests

- validation test_validate_counter_collection_pmc1 for conversion script
- increase timeout for tests/rocprofv3/pc-sampling execution phase

[ROCm/rocprofiler-sdk commit: f0fe04b95e]
2025-06-30 15:53:30 -05:00
Madsen, Jonathan f0fe04b95e [CI] Disable other unstable tests (#491)
Disable other unstable tests

- validation test_validate_counter_collection_pmc1 for conversion script
- increase timeout for tests/rocprofv3/pc-sampling execution phase
2025-06-30 15:53:30 -05:00
Madsen, Jonathan fff7146ab8 [CI] Disable other unstable tests (#490)
* Disable other unstable tests

* Disable validating test_total_runtime in kernel-tracing

* The disabled tests will be stabilized and re-enabled by ROCm 7.0.1 or ROCm 7.1 

[ROCm/rocprofiler-sdk commit: 69f71b8097]
2025-06-30 15:42:38 -05:00
Madsen, Jonathan 69f71b8097 [CI] Disable other unstable tests (#490)
* Disable other unstable tests

* Disable validating test_total_runtime in kernel-tracing

* The disabled tests will be stabilized and re-enabled by ROCm 7.0.1 or ROCm 7.1
2025-06-30 15:42:38 -05:00
Elwazir, Ammar 747763eadd Update sync-mainline.yaml
[ROCm/rocprofiler-register commit: 80fcffeb5a]
2025-06-30 15:24:35 -05:00
Elwazir, Ammar 80fcffeb5a Update sync-mainline.yaml 2025-06-30 15:24:35 -05:00
Elwazir, Ammar 3c986be896 Update sync-staging.yaml
[ROCm/rocprofiler-register commit: 57143911c3]
2025-06-30 15:24:13 -05:00
Elwazir, Ammar 57143911c3 Update sync-staging.yaml 2025-06-30 15:24:13 -05:00
Madsen, Jonathan 839c07c4aa [CI] Testing stability (#486)
* [CI] Testing Stability

- CMake option ROCPROFILER_DISABLE_UNSTABLE_CTESTS
  - used for tests which periodically fail around 1 out of every 10 runs
  - set to ON while instability remains, this needs to set to OFF in ROCm 7.1 or, ideally, ROCm 7.0.1
- Use FIXTURES_SETUP and FIXTURES_REQUIRED for some tests
- replace "threw an exception" with "${ROCPROFILER_DEFAULT_FAIL_REGEX}" for misc FAIL_REGULAR_EXPRESSIONS

* Remove contents of all EXCLUDE_{TESTS,LABEL}_REGEX from CI workflow

* Disable patch git step in code-coverage run

* Tweak spin time of reproducible runtime

* Removed patch git step in code-coverage run

* Update ROCPROFILER_DEFAULT_FAIL_REGEX

* Mark test-counter-collection tests as unstable

- add fixtures setup/required

* Remove ATTACHED_FILES_ON_FAIL

- CDash doesn't store enable downloading these properly anyway

* Relax collection-period fuzzing window

* Disable unstable collection-period test

- too unstable

* formatting

* Disable unstable device_counting_service_test.async_counters

* Suppress perfetto internal data race errors

* Switch code-coverage CI jobs to mi300 runner

* Timeout increases

* rocprofv3-test-rocpd updates

- add fixtures
- switch executable
- redefine input/output paths

* Revert code-coverage job to mi300a runner

* Update rocprofv3-test-rocpd-execute-multiproc

- reduce problem size

* disable multiproc rocpd

* Split code-coverage into separate workflow

- network issues cause this job to fail frequently
- when in a separate workflow, it can be restarted easily

* Fixtures for rocprofv3-test-trace-hip-in-libraries

* Disable unstable device_counting_service_test.sync_counters

* Potential fix for code scanning alert no. 171: Workflow does not contain permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* Switch code-coverage to run on rocprof-azure

- mi300a EMU runner set is unstable (network issues)

* tests/rocprofv3/pc-sampling SKIP_REGULAR_EXPRESSION

* Update rocprofv3-test-list-avail-trace-execute

- reduce log level and increase timeout

* rocprofv3: Prevent recursive call to rocprofv3_error_signal_handler + log chaining

* rocprofv3: Use ROCP_ERROR + std::exit instead of ROCP_FATAL

- should help with SKIP_REGULAR_EXPRESSION

---------

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

[ROCm/rocprofiler-sdk commit: 640ca55ac0]
2025-06-30 15:07:37 -05:00
Madsen, Jonathan 640ca55ac0 [CI] Testing stability (#486)
* [CI] Testing Stability

- CMake option ROCPROFILER_DISABLE_UNSTABLE_CTESTS
  - used for tests which periodically fail around 1 out of every 10 runs
  - set to ON while instability remains, this needs to set to OFF in ROCm 7.1 or, ideally, ROCm 7.0.1
- Use FIXTURES_SETUP and FIXTURES_REQUIRED for some tests
- replace "threw an exception" with "${ROCPROFILER_DEFAULT_FAIL_REGEX}" for misc FAIL_REGULAR_EXPRESSIONS

* Remove contents of all EXCLUDE_{TESTS,LABEL}_REGEX from CI workflow

* Disable patch git step in code-coverage run

* Tweak spin time of reproducible runtime

* Removed patch git step in code-coverage run

* Update ROCPROFILER_DEFAULT_FAIL_REGEX

* Mark test-counter-collection tests as unstable

- add fixtures setup/required

* Remove ATTACHED_FILES_ON_FAIL

- CDash doesn't store enable downloading these properly anyway

* Relax collection-period fuzzing window

* Disable unstable collection-period test

- too unstable

* formatting

* Disable unstable device_counting_service_test.async_counters

* Suppress perfetto internal data race errors

* Switch code-coverage CI jobs to mi300 runner

* Timeout increases

* rocprofv3-test-rocpd updates

- add fixtures
- switch executable
- redefine input/output paths

* Revert code-coverage job to mi300a runner

* Update rocprofv3-test-rocpd-execute-multiproc

- reduce problem size

* disable multiproc rocpd

* Split code-coverage into separate workflow

- network issues cause this job to fail frequently
- when in a separate workflow, it can be restarted easily

* Fixtures for rocprofv3-test-trace-hip-in-libraries

* Disable unstable device_counting_service_test.sync_counters

* Potential fix for code scanning alert no. 171: Workflow does not contain permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* Switch code-coverage to run on rocprof-azure

- mi300a EMU runner set is unstable (network issues)

* tests/rocprofv3/pc-sampling SKIP_REGULAR_EXPRESSION

* Update rocprofv3-test-list-avail-trace-execute

- reduce log level and increase timeout

* rocprofv3: Prevent recursive call to rocprofv3_error_signal_handler + log chaining

* rocprofv3: Use ROCP_ERROR + std::exit instead of ROCP_FATAL

- should help with SKIP_REGULAR_EXPRESSION

---------

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-06-30 15:07:37 -05:00
Chris Freehill f1bd89bd0d rocr/rocrtst: Update to c++17 2025-06-30 14:02:24 -05:00
Elwazir, Ammar 741ce1b8f3 Adding Manual Trigger for mainline and staging public sync (#489)
* Update sync-staging.yaml

* Update sync-mainline.yaml

[ROCm/rocprofiler-sdk commit: 5962747bf7]
2025-06-30 11:13:50 -05:00
Elwazir, Ammar 5962747bf7 Adding Manual Trigger for mainline and staging public sync (#489)
* Update sync-staging.yaml

* Update sync-mainline.yaml
2025-06-30 11:13:50 -05:00
xuchen-amd bfe24beec6 Remove cell backgrouund colors. (#778)
[ROCm/rocprofiler-compute commit: 222dbdc6bd]
2025-06-28 10:38:28 -04:00
xuchen-amd 222dbdc6bd Remove cell backgrouund colors. (#778) 2025-06-28 10:38:28 -04:00
Galantsev, Dmitrii 035cd2c371 fixup! CHORE - Ignore gersemi commit 2025-06-27 17:34:28 -05:00
Galantsev, Dmitrii 78fa862c48 fixup! CHORE - Ignore gersemi commit
[ROCm/rdc commit: 035cd2c371]
2025-06-27 17:34:28 -05:00
Galantsev, Dmitrii f6023092c7 CI - Fix cmake-format
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2025-06-27 17:25:51 -05:00
Galantsev, Dmitrii 3a762a63fb CI - Fix cmake-format
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/rdc commit: f6023092c7]
2025-06-27 17:25:51 -05:00
Galantsev, Dmitrii a57edc0598 CHORE - Ignore gersemi commit
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2025-06-27 17:25:51 -05:00
Galantsev, Dmitrii 5342e6cf22 CHORE - Ignore gersemi commit
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/rdc commit: a57edc0598]
2025-06-27 17:25:51 -05:00
Galantsev, Dmitrii 40545dcb49 CMAKE - Format with gersemi
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2025-06-27 17:25:51 -05:00
Galantsev, Dmitrii 1d55c1d820 CMAKE - Format with gersemi
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/rdc commit: 40545dcb49]
2025-06-27 17:25:51 -05:00
Galantsev, Dmitrii 680b7a8dd8 CMAKE - Add gersemi to replace cmake-format
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2025-06-27 17:25:51 -05:00
Galantsev, Dmitrii 6b39188f89 CMAKE - Add gersemi to replace cmake-format
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/rdc commit: 680b7a8dd8]
2025-06-27 17:25:51 -05:00
Trinh, Ethan 2ce45143d8 SWDEV-539861 - add ROCclr version to logs (#612) 2025-06-27 16:37:58 -04:00
jamessiddeley-amd 60ace87e1a added 0400 analysis config yaml files (#779)
[ROCm/rocprofiler-compute commit: 1bb7bf4dd4]
2025-06-27 16:21:19 -04:00
jamessiddeley-amd 1bb7bf4dd4 added 0400 analysis config yaml files (#779) 2025-06-27 16:21:19 -04:00
Galantsev, Dmitrii e73eaf8115 Profiler - Remove rocprofiler-v1 remnants
Also force unset HSA_TOOLS_LIB so it doesn't break rocprofiler-sdk

Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2025-06-27 13:15:52 -05:00
Galantsev, Dmitrii 89a495e493 Profiler - Remove rocprofiler-v1 remnants
Also force unset HSA_TOOLS_LIB so it doesn't break rocprofiler-sdk

Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/rdc commit: e73eaf8115]
2025-06-27 13:15:52 -05:00
vedithal-amd 86e243201e Fix SPI block counter limit (#780)
* Fix SPI counter collection limit

* Update counter collection limits from aqlprofile

* Remove special handling for MI 350 SPI pipe counters

[ROCm/rocprofiler-compute commit: 6e1bbb5efb]
2025-06-27 14:07:56 -04:00
vedithal-amd 6e1bbb5efb Fix SPI block counter limit (#780)
* Fix SPI counter collection limit

* Update counter collection limits from aqlprofile

* Remove special handling for MI 350 SPI pipe counters
2025-06-27 14:07:56 -04:00
Xie, AlexBin ef26fcdbd2 SWDEV-530767 ocltst GL test work with GL context on 2nd GPU (#324)
Change-Id: Ia3dbc661b3b9b1de71a632969707318f208131cd
2025-06-27 12:25:23 -04:00
Xie, AlexBin 592c25e936 SWDEV-540176 - deb and rpm package include OpenCL config files (#615) 2025-06-27 11:59:24 -04:00
Lytovchenko, Danylo c8571baa23 SWDEV-123456 - add correct line-by-line clang format script (#215) 2025-06-27 17:47:31 +02:00
Lytovchenko, Danylo 1f14151706 SWDEV-123456 - add correct line-by-line clang format script (#360) 2025-06-27 17:47:21 +02:00
Lytovchenko, Danylo d9ec8a0977 SWDEV-123456 - add correct line-by-line clang format script (#19) 2025-06-27 17:47:11 +02:00
Pranjal Swarup 0497b7934f Update RCCL-tests in examples folder (#261)
- Create a local copy for ROCm/rccl-tests for our examples.
- Update argument parsing to no longer use getopt_long.
- Workaround for Dyninst instrumentation.

---------

Co-authored-by: David Galiffi <David.Galiffi@amd.com>

[ROCm/rocprofiler-systems commit: 4e5029221b]
2025-06-27 11:44:13 -04:00
Pranjal Swarup 4e5029221b Update RCCL-tests in examples folder (#261)
- Create a local copy for ROCm/rccl-tests for our examples.
- Update argument parsing to no longer use getopt_long.
- Workaround for Dyninst instrumentation.

---------

Co-authored-by: David Galiffi <David.Galiffi@amd.com>
2025-06-27 11:44:13 -04:00
Honglei Huang d874b8003a rocr/driver: add SetTrapHandler API to driver interface
This commit introduces a new SetTrapHandler API to the driver interface

- Implemented SetTrapHandler in KfdDriver to set trap handlers using
  hsaKmtSetTrapHandler.
- Added a stub implementation of SetTrapHandler in XdnaDriver that returns
  HSA_STATUS_ERROR.
- Updated the driver interface in driver.h to include the new SetTrapHandler
  method.
- Modified GpuAgent to use driver().SetTrapHandler instead of directly calling
  hsaKmtSetTrapHandler.

Signed-off-by: Honglei Huang <Honglei1.Huang@amd.com>
2025-06-27 23:32:53 +08:00
Bhardwaj, Gopesh 639064b28c SWDEV-539836 Do not parse private/internal members (#56)
[ROCm/roctracer commit: 074d9d95ec]
2025-06-27 20:47:30 +05:30
Bhardwaj, Gopesh 074d9d95ec SWDEV-539836 Do not parse private/internal members (#56) 2025-06-27 20:47:30 +05:30
Bhardwaj, Gopesh 03b8988d9b SWDEV-539836 Do not parse private/internal members (#71)
[ROCm/rocprofiler commit: 93e0c4a17c]
2025-06-27 20:46:14 +05:30
Bhardwaj, Gopesh 93e0c4a17c SWDEV-539836 Do not parse private/internal members (#71) 2025-06-27 20:46:14 +05:30
Guan, Zichuan 51508e0bef Fix memory leak in opengl interop (#541)
Signed-off-by: zichguan-amd <zichuan.guan@amd.com>
2025-06-27 09:51:18 -04:00
Belton-Schure, Aidan 5e77c58bd0 SWDEV-536813 - Make alignment 16 for special cases (#609) 2025-06-27 14:20:16 +05:30
Lin, Qun b584fc8cd1 SWDEV-508869 - Replace asicRevision with gfxip triple in paldevice (#601)
asicRevision is not unique in pal path now, use gfxip triple to match isa is more straight forward in pal path.
2025-06-27 10:09:21 +08:00