Commit Graph

64836 Commits

Author SHA1 Message Date
Trowbridge, Ian e2bdebcb57 [rocprofv3] Add check for Stream Stack Pointer before use (#465)
* Added null check for stream_stack before get_stream_id is called

* Rename function and add check for stream strack before pop

* Removed empty check for stream stack and adding error log for get_stream_id in stream.cpp

[ROCm/rocprofiler-sdk commit: 0904b6e34d]
2025-06-30 17:49:48 -05:00
Trowbridge, Ian 0904b6e34d [rocprofv3] Add check for Stream Stack Pointer before use (#465)
* Added null check for stream_stack before get_stream_id is called

* Rename function and add check for stream strack before pop

* Removed empty check for stream stack and adding error log for get_stream_id in stream.cpp
2025-06-30 17:49:48 -05:00
Jonathan Luu 463d6b60d5 SWDEV-531400 Remove file reorganization backwards compatibility (rdc) 2025-06-30 15:20:26 -07:00
Jonathan Luu a03fbdd66a SWDEV-531400 Remove file reorganization backwards compatibility (rdc)
[ROCm/rdc commit: 463d6b60d5]
2025-06-30 15:20:26 -07:00
Madsen, Jonathan 145944dc30 [CI] Disable conversion script validation (#492)
- pytest fails when you selectively disable all the tests in the suite

[ROCm/rocprofiler-sdk commit: 99e262ca4a]
2025-06-30 17:02:53 -05:00
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
Chris Freehill 0e860e73b0 rocr/rocrtst: Update to c++17
[ROCm/ROCR-Runtime commit: f1bd89bd0d]
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 66b125d5dc SWDEV-539861 - add ROCclr version to logs (#612)
[ROCm/clr commit: 2ce45143d8]
2025-06-27 16:37:58 -04: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 534bd7413a SWDEV-530767 ocltst GL test work with GL context on 2nd GPU (#324)
Change-Id: Ia3dbc661b3b9b1de71a632969707318f208131cd

[ROCm/clr commit: ef26fcdbd2]
2025-06-27 12:25:23 -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 a158b5c4a2 SWDEV-540176 - deb and rpm package include OpenCL config files (#615)
[ROCm/clr commit: 592c25e936]
2025-06-27 11:59:24 -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 f7303b32bf SWDEV-123456 - add correct line-by-line clang format script (#215)
[ROCm/hip commit: c8571baa23]
2025-06-27 17:47:31 +02: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 e515deb99e SWDEV-123456 - add correct line-by-line clang format script (#360)
[ROCm/hip-tests commit: 1f14151706]
2025-06-27 17:47:21 +02:00
Lytovchenko, Danylo 1f14151706 SWDEV-123456 - add correct line-by-line clang format script (#360) 2025-06-27 17:47:21 +02:00