76333 Коммитов

Автор SHA1 Сообщение Дата
Ioannis Assiouras 50ecfb39c9 SWDEV-451736 - Revert "SWDEV-444670 - Register the Runtime::tearDown function to be called at exit"
This reverts commit 8392200773.

Change-Id: Ib9cb1cc0c3903bfba56c9a5d05ae8afe96be583a


[ROCm/clr commit: 51926b6b6b]
2024-03-23 07:05:02 -04:00
Ioannis Assiouras 51926b6b6b SWDEV-451736 - Revert "SWDEV-444670 - Register the Runtime::tearDown function to be called at exit"
This reverts commit 5e294f89a8.

Change-Id: Ib9cb1cc0c3903bfba56c9a5d05ae8afe96be583a
2024-03-23 07:05:02 -04:00
Julia Jiang 08e18077cc Revert "SWDEV-444098 - remove rocm-ocl-icd packaging"
This reverts commit 6c46d696ae.

Reason for revert: due to windows staging branch using Opencl-icd-loader master

Change-Id: I9cca7564a21de1733665a34da6f0322aa3b886e7


[ROCm/clr commit: f44ca70bb7]
2024-03-22 16:59:23 -04:00
Julia Jiang f44ca70bb7 Revert "SWDEV-444098 - remove rocm-ocl-icd packaging"
This reverts commit 5f68a4531a.

Reason for revert: due to windows staging branch using Opencl-icd-loader master

Change-Id: I9cca7564a21de1733665a34da6f0322aa3b886e7
2024-03-22 16:59:23 -04:00
akolliasAMD a1e5df300f Merge pull request #68 from ROCm/revert-66-mberenjk/adding_git_version2
Revert "adding git version to rccl-test"

[ROCm/rccl-tests commit: ddac5f30b1]
2024-03-22 10:23:24 -06:00
akolliasAMD ddac5f30b1 Merge pull request #68 from ROCm/revert-66-mberenjk/adding_git_version2
Revert "adding git version to rccl-test"
2024-03-22 10:23:24 -06:00
akolliasAMD f8c62f64c3 Revert "adding git version to rccl-test (#66)"
This reverts commit 82c71f1838.


[ROCm/rccl-tests commit: 91609be0ef]
2024-03-22 10:21:37 -06:00
akolliasAMD 91609be0ef Revert "adding git version to rccl-test (#66)"
This reverts commit a31679775c.
2024-03-22 10:21:37 -06:00
David Yat Sin 4f554988b6 libhsakmt: Update Linux header for PC Sampling
Add pc sampling support

Change-Id: I2c472ce00ff8648904cf7e585687e81d3f493049
Signed-off-by: David Yat Sin <David.YatSin@amd.com>
Signed-off-by: James Zhu <James.Zhu@amd.com>
2024-03-22 15:06:10 +00:00
David Yat Sin a88194702c libhsakmt: Update Linux header for PC Sampling
Add pc sampling support

Change-Id: I2c472ce00ff8648904cf7e585687e81d3f493049
Signed-off-by: David Yat Sin <David.YatSin@amd.com>
Signed-off-by: James Zhu <James.Zhu@amd.com>


[ROCm/ROCR-Runtime commit: 4f554988b6]
2024-03-22 15:06:10 +00:00
Jonathan R. Madsen 34d3257fb1 Fix agent node id + randomize offset id (#625)
* Fix agent node id + randomize offset id

- fixes the node_id value
- randomizes a constant offset for the id.handle values
- switch to using node ids in rocprofiler-sdk-tool library
- update tests related to agents

* Logical node id

- sequential node id values from 0 to (N-1) where N is the number of agents

[ROCm/rocprofiler-sdk commit: 1addfed9f6]
2024-03-21 20:04:21 -05:00
Jonathan R. Madsen 1addfed9f6 Fix agent node id + randomize offset id (#625)
* Fix agent node id + randomize offset id

- fixes the node_id value
- randomizes a constant offset for the id.handle values
- switch to using node ids in rocprofiler-sdk-tool library
- update tests related to agents

* Logical node id

- sequential node id values from 0 to (N-1) where N is the number of agents
2024-03-21 20:04:21 -05:00
Pedram Alizadeh 61f89d680d msccl algorithms tuning for alltoall on MI300 (#1120)
Co-authored-by: PedramAlizadeh <amd@pmohamma.com>

[ROCm/rccl commit: c2fc1d6809]
2024-03-21 20:35:29 -04:00
Pedram Alizadeh c2fc1d6809 msccl algorithms tuning for alltoall on MI300 (#1120)
Co-authored-by: PedramAlizadeh <amd@pmohamma.com>
2024-03-21 20:35:29 -04:00
Jonathan R. Madsen 5716eae6e1 Handle hsa_queue_destroy after finalization (#679)
* Handle hsa_queue_destroy after finalization

- fixes issue where hsa_queue_destroy(...) is invoked after rocprofiler-sdk has finalized
- hsa::get_queue_controller() returns pointer
- if queue controller is a null pointer, skip invoking QueueController::destroy_queue

* Update HIP/HSA/marker update_table logging

* Update rocprofv3 tests

- remove HSA_TOOLS_LIB env variable
- remove setting ROCPROFILER_LOG_LEVEL env variable
- add timeouts to tests which are missing them

* Disable thread sanitizer deadlock detection

* Update CI workflow

- rename vega20-ubuntu job to core-ci
- enable navi32 in core-ci and sanitizers

* Update run-ci.py

- set gcovr html medium and high threshold

* Update lib/rocprofiler-sdk/hsa/queue_controller.cpp

- remove this capture from enable/disable serialization

* Update lib/rocprofiler-sdk/hsa/{hsa_barrier,profile_serializer}.*

- hsa_barrier::set_barrier accepts const-ref to queue map
- profile_serializer::enable and profile_serializer::disable accept const-ref to queue map

* Logging for HIP/HSA/marker/profile_serializer

* Logging for HIP/HSA/marker/queue_controller

* Improve test_retired_correlation_ids asserts

* Fix tests/counter-collection/validate.py

- scale expected SQ_WAVES counter value based on warp size of GPU

* Tweak github comment for code coverage

* Remove gcovr html high/medium threshold args

* Fix tests/counter-collection/validate.py

- round before casting to int in test_counter_values

* operator bool for profile_serializer

- only wait on CV if profile_serializer is used

* Logging updates (profile_serializer + code_object)

* Update counter-collection validate.py

* QueueController does not wait on CV if finalizing/finalized

* Update CI workflow

- remove navi32 from core job

* Improve HIP/HSA/marker tracing get_functor/functor

- remove lambda wrapper around functor

* Update lib/rocprofiler-sdk/hsa/queue_controller.cpp

- do not acquire cvmutex lock during finalization

* Update lib/rocprofiler-sdk/hsa/hsa_barrier.*

- move ctor and dtor to implementation
- skip signal store screlease and destroy if already finalized

* Update CI workflow

- remove navi32 runners

* bwelton fixes for hangs

* CMake improvements + simplified demangle

- remove amd-comgr from common target (and thus removed from roctx DT_NEEDED)

---------

Co-authored-by: Benjamin Welton <bewelton@amd.com>

[ROCm/rocprofiler-sdk commit: 2f9b1767e9]
2024-03-21 17:52:15 -05:00
Jonathan R. Madsen 2f9b1767e9 Handle hsa_queue_destroy after finalization (#679)
* Handle hsa_queue_destroy after finalization

- fixes issue where hsa_queue_destroy(...) is invoked after rocprofiler-sdk has finalized
- hsa::get_queue_controller() returns pointer
- if queue controller is a null pointer, skip invoking QueueController::destroy_queue

* Update HIP/HSA/marker update_table logging

* Update rocprofv3 tests

- remove HSA_TOOLS_LIB env variable
- remove setting ROCPROFILER_LOG_LEVEL env variable
- add timeouts to tests which are missing them

* Disable thread sanitizer deadlock detection

* Update CI workflow

- rename vega20-ubuntu job to core-ci
- enable navi32 in core-ci and sanitizers

* Update run-ci.py

- set gcovr html medium and high threshold

* Update lib/rocprofiler-sdk/hsa/queue_controller.cpp

- remove this capture from enable/disable serialization

* Update lib/rocprofiler-sdk/hsa/{hsa_barrier,profile_serializer}.*

- hsa_barrier::set_barrier accepts const-ref to queue map
- profile_serializer::enable and profile_serializer::disable accept const-ref to queue map

* Logging for HIP/HSA/marker/profile_serializer

* Logging for HIP/HSA/marker/queue_controller

* Improve test_retired_correlation_ids asserts

* Fix tests/counter-collection/validate.py

- scale expected SQ_WAVES counter value based on warp size of GPU

* Tweak github comment for code coverage

* Remove gcovr html high/medium threshold args

* Fix tests/counter-collection/validate.py

- round before casting to int in test_counter_values

* operator bool for profile_serializer

- only wait on CV if profile_serializer is used

* Logging updates (profile_serializer + code_object)

* Update counter-collection validate.py

* QueueController does not wait on CV if finalizing/finalized

* Update CI workflow

- remove navi32 from core job

* Improve HIP/HSA/marker tracing get_functor/functor

- remove lambda wrapper around functor

* Update lib/rocprofiler-sdk/hsa/queue_controller.cpp

- do not acquire cvmutex lock during finalization

* Update lib/rocprofiler-sdk/hsa/hsa_barrier.*

- move ctor and dtor to implementation
- skip signal store screlease and destroy if already finalized

* Update CI workflow

- remove navi32 runners

* bwelton fixes for hangs

* CMake improvements + simplified demangle

- remove amd-comgr from common target (and thus removed from roctx DT_NEEDED)

---------

Co-authored-by: Benjamin Welton <bewelton@amd.com>
2024-03-21 17:52:15 -05:00
corey-derochie-amd 9c2a57259d Added @corey-derochie-amd as a code owner (to rocm-documentation) (#1119)
[ROCm/rccl commit: 606d3e6b6e]
2024-03-21 14:56:05 -06:00
corey-derochie-amd 606d3e6b6e Added @corey-derochie-amd as a code owner (to rocm-documentation) (#1119) 2024-03-21 14:56:05 -06:00
Maisam Arif 06fa6580c4 SWDEV-438593 - Updated proccess output error handling
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I67747da06362428587dab7467d85d8c9296d442e
2024-03-21 15:34:36 -05:00
Maisam Arif 438fc0f692 SWDEV-438593 - Updated proccess output error handling
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I67747da06362428587dab7467d85d8c9296d442e


[ROCm/amdsmi commit: 06fa6580c4]
2024-03-21 15:34:36 -05:00
Bill(Shuzhou) Liu 2ddcade4e7 Unlock the mutex when process is dead
After the dead process is detected, pthread_mutex_consistent() will
be called. After that, the pthread_mutex_unlock() should also be
called to unlock it: "It is the responsibility of the application to
recover the state so it can be reused."

Change-Id: I45d3e2e68c3b06779f3acb1e908dbec0c6a39297


[ROCm/rocm_smi_lib commit: 750704720b]
2024-03-21 15:31:10 -05:00
Bill(Shuzhou) Liu 750704720b Unlock the mutex when process is dead
After the dead process is detected, pthread_mutex_consistent() will
be called. After that, the pthread_mutex_unlock() should also be
called to unlock it: "It is the responsibility of the application to
recover the state so it can be reused."

Change-Id: I45d3e2e68c3b06779f3acb1e908dbec0c6a39297
2024-03-21 15:31:10 -05:00
Deepak Mewar a3407090c3 Updated README with esmi sample code
Change-Id: I50de7926fd76757e5810e8c531bcb6f5770ff454
2024-03-21 15:51:51 -04:00
Deepak Mewar e1a0420ac0 Updated README with esmi sample code
Change-Id: I50de7926fd76757e5810e8c531bcb6f5770ff454


[ROCm/amdsmi commit: a3407090c3]
2024-03-21 15:51:51 -04:00
Jaydeep Patel 1bbbff9dd9 SWDEV-452299 - Pass dst pitch while capturing hipMemcpyParam2DAsync & elementSize should be 1 as width is in bytes while capturing hipMemset2DAsync.
Change-Id: I8f9122a30cba0a07c097dfd7609432090caab142


[ROCm/clr commit: 0be92b8f09]
2024-03-21 12:49:34 -04:00
Jaydeep Patel 0be92b8f09 SWDEV-452299 - Pass dst pitch while capturing hipMemcpyParam2DAsync & elementSize should be 1 as width is in bytes while capturing hipMemset2DAsync.
Change-Id: I8f9122a30cba0a07c097dfd7609432090caab142
2024-03-21 12:49:34 -04:00
Karl W. Schulz 40764d29a0 restore missing run directive
Signed-off-by: Karl W. Schulz <karl.schulz@amd.com>


[ROCm/rocprofiler-compute commit: 68ea629c14]
2024-03-21 11:19:43 -05:00
Karl W. Schulz 68ea629c14 restore missing run directive
Signed-off-by: Karl W. Schulz <karl.schulz@amd.com>
2024-03-21 11:19:43 -05:00
Karl W. Schulz fa453d34b3 reorder job step - start with checkout
Signed-off-by: Karl W. Schulz <karl.schulz@amd.com>


[ROCm/rocprofiler-compute commit: ad65ec14f8]
2024-03-21 11:13:05 -05:00
Karl W. Schulz ad65ec14f8 reorder job step - start with checkout
Signed-off-by: Karl W. Schulz <karl.schulz@amd.com>
2024-03-21 11:13:05 -05:00
Karl W. Schulz d4784ec0ef fixing yaml syntax
Signed-off-by: Karl W. Schulz <karl.schulz@amd.com>


[ROCm/rocprofiler-compute commit: 5e99f039f6]
2024-03-21 11:08:14 -05:00
Karl W. Schulz 5e99f039f6 fixing yaml syntax
Signed-off-by: Karl W. Schulz <karl.schulz@amd.com>
2024-03-21 11:08:14 -05:00
Karl W. Schulz 4d88055dd4 remove --user option for container, try chown instead
Signed-off-by: Karl W. Schulz <karl.schulz@amd.com>


[ROCm/rocprofiler-compute commit: 79aba89337]
2024-03-21 11:05:15 -05:00
Karl W. Schulz 79aba89337 remove --user option for container, try chown instead
Signed-off-by: Karl W. Schulz <karl.schulz@amd.com>
2024-03-21 11:05:15 -05:00
Karl W. Schulz 8059b012a6 test addition of user option for container launch
Signed-off-by: Karl W. Schulz <karl.schulz@amd.com>


[ROCm/rocprofiler-compute commit: 01d41bd428]
2024-03-21 11:00:00 -05:00
Karl W. Schulz 01d41bd428 test addition of user option for container launch
Signed-off-by: Karl W. Schulz <karl.schulz@amd.com>
2024-03-21 11:00:00 -05:00
Karl W. Schulz 626f303a2d update checkout action and use concurrency instead of cancel-workflow-action
Signed-off-by: Karl W. Schulz <karl.schulz@amd.com>


[ROCm/rocprofiler-compute commit: 1ae67a179d]
2024-03-21 10:52:43 -05:00
Karl W. Schulz 1ae67a179d update checkout action and use concurrency instead of cancel-workflow-action
Signed-off-by: Karl W. Schulz <karl.schulz@amd.com>
2024-03-21 10:52:43 -05:00
Karl W. Schulz a9705599aa update branch for 2.x documentation builds
Signed-off-by: Karl W. Schulz <karl.schulz@amd.com>


[ROCm/rocprofiler-compute commit: 65486cb9d5]
2024-03-21 10:41:15 -05:00
Karl W. Schulz 65486cb9d5 update branch for 2.x documentation builds
Signed-off-by: Karl W. Schulz <karl.schulz@amd.com>
2024-03-21 10:41:15 -05:00
David Galiffi 376a86d2d0 Updated links in documentation. (#328)
Updated to reflect new GitHub organization.
Fixed broken links to GitHub pages.

Signed-off-by: David Galiffi <David.Galiffi@amd.com>

[ROCm/rocprofiler-compute commit: f5712875aa]
2024-03-21 10:14:37 -05:00
David Galiffi f5712875aa Updated links in documentation. (#328)
Updated to reflect new GitHub organization.
Fixed broken links to GitHub pages.

Signed-off-by: David Galiffi <David.Galiffi@amd.com>
2024-03-21 10:14:37 -05:00
Jaydeep Patel 49a7085d38 SWDEV-444265 - No need to add delay.
As sync between stream is via event record, There
is no really need of having delay in GPU.

Change-Id: Iee835752395fff5bf380535643835f6da0a84b80


[ROCm/hip-tests commit: 598fa2e8a5]
2024-03-21 11:07:41 -04:00
Jaydeep Patel 598fa2e8a5 SWDEV-444265 - No need to add delay.
As sync between stream is via event record, There
is no really need of having delay in GPU.

Change-Id: Iee835752395fff5bf380535643835f6da0a84b80
2024-03-21 11:07:41 -04:00
Jatin Chaudhary b60e8dca7c SWDEV-446760 - add image check and skip failing tests
Change-Id: If4a135222ab755c23a4c0d00c29bea33744528a5


[ROCm/hip-tests commit: d0088ee34f]
2024-03-21 06:16:45 -04:00
Jatin Chaudhary d0088ee34f SWDEV-446760 - add image check and skip failing tests
Change-Id: If4a135222ab755c23a4c0d00c29bea33744528a5
2024-03-21 06:16:45 -04:00
guanyu12 47db0d99a0 Merge amd-staging into amd-master 20240321
Signed-off-by: guanyu12 <guanyu12@amd.com>
Change-Id: I006fc6c187f134a4851e262fa53ab6bf8d58759d


[ROCm/rocm_smi_lib commit: 8d4261c5c5]
2024-03-21 14:03:51 +08:00
guanyu12 8d4261c5c5 Merge amd-staging into amd-master 20240321
Signed-off-by: guanyu12 <guanyu12@amd.com>
Change-Id: I006fc6c187f134a4851e262fa53ab6bf8d58759d
2024-03-21 14:03:51 +08:00
guanyu12 88914c9c40 Merge amd-dev into amd-master 20240321
Signed-off-by: guanyu12 <guanyu12@amd.com>
Change-Id: I81be935ccf13ff6185b9475983e26420cf8e5a5a
2024-03-21 14:01:03 +08:00
guanyu12 42ee6601e7 Merge amd-dev into amd-master 20240321
Signed-off-by: guanyu12 <guanyu12@amd.com>
Change-Id: I81be935ccf13ff6185b9475983e26420cf8e5a5a


[ROCm/amdsmi commit: 88914c9c40]
2024-03-21 14:01:03 +08:00