76333 Commits
Author SHA1 Message Date
Ranjith Ramakrishnan 7f413038d2 SWDEV-366831 - File reorg backward compatibility message changed to #error
Change-Id: Ic47e8d32846e5c15ee7449e53ccea52041862299
2023-03-09 13:20:34 +00:00
Ranjith Ramakrishnan d72dca799b SWDEV-366831 - File reorg backward compatibility message changed to #error
Change-Id: Ic47e8d32846e5c15ee7449e53ccea52041862299


[ROCm/rocprofiler commit: 7f413038d2]
2023-03-09 13:20:34 +00:00
Ammar ELWazir 8032adb64f Adding rocprofilerv2
Change-Id: Ic0cc280ba207d2b8f6ccae1cd4ac3184152fc1ad
2023-03-09 13:20:33 +00:00
Ammar ELWazir de4abd0d0f Adding rocprofilerv2
Change-Id: Ic0cc280ba207d2b8f6ccae1cd4ac3184152fc1ad


[ROCm/rocprofiler commit: 8032adb64f]
2023-03-09 13:20:33 +00:00
Ioannis Assiouras f32fc707da SWDEV-387173 - Added cuda mappings for hipGraphMemAttr* enums
Change-Id: Ie5485ec518c6d107901a429ac3614e22caa9196b


[ROCm/hipother commit: cafad8f51e]
2023-03-09 08:08:06 -05:00
Ioannis Assiouras cafad8f51e SWDEV-387173 - Added cuda mappings for hipGraphMemAttr* enums
Change-Id: Ie5485ec518c6d107901a429ac3614e22caa9196b
2023-03-09 08:08:06 -05:00
Ioannis Assiouras 55c387ca23 SWDEV-387173 - Added cuda mappings for hipGraphMemAttr* enums
Change-Id: Ie5485ec518c6d107901a429ac3614e22caa9196b


[ROCm/clr commit: 1d6c40b569]
2023-03-09 08:08:06 -05:00
Ioannis Assiouras 1d6c40b569 SWDEV-387173 - Added cuda mappings for hipGraphMemAttr* enums
Change-Id: Ie5485ec518c6d107901a429ac3614e22caa9196b
2023-03-09 08:08:06 -05:00
Saleel Kudchadker ce8215feb4 SWDEV-384658 - Optimize D2D memcpy
- Intra device memcpy does not need to perform host side synchronization
- Check alloc flags when determining memory type

Change-Id: Ieff28bd8d62756ffe82905354c4a91e9717e6bd4


[ROCm/clr commit: dfefc97178]
2023-03-09 04:47:11 -05:00
Saleel Kudchadker dfefc97178 SWDEV-384658 - Optimize D2D memcpy
- Intra device memcpy does not need to perform host side synchronization
- Check alloc flags when determining memory type

Change-Id: Ieff28bd8d62756ffe82905354c4a91e9717e6bd4
2023-03-09 04:47:11 -05:00
Anusha GodavarthySurya 60d87305c5 SWDEV-330658 - Added flag hipHostRegisterReadOnly
Change-Id: Idb59dc6187e99512546dfeafde44c08ae85f6057


[ROCm/hipother commit: 81717d6329]
2023-03-09 00:20:24 -05:00
Anusha GodavarthySurya 81717d6329 SWDEV-330658 - Added flag hipHostRegisterReadOnly
Change-Id: Idb59dc6187e99512546dfeafde44c08ae85f6057
2023-03-09 00:20:24 -05:00
Anusha GodavarthySurya cfcc0aede9 SWDEV-330658 - Added flag hipHostRegisterReadOnly
Change-Id: Idb59dc6187e99512546dfeafde44c08ae85f6057


[ROCm/clr commit: b689c56107]
2023-03-09 00:20:24 -05:00
Anusha GodavarthySurya b689c56107 SWDEV-330658 - Added flag hipHostRegisterReadOnly
Change-Id: Idb59dc6187e99512546dfeafde44c08ae85f6057
2023-03-09 00:20:24 -05:00
Anusha GodavarthySurya f0dd8a6fe3 SWDEV-386102 - Handle code object v5
Change-Id: I47b840f484d90ca7815fb9c8af959ceaac62cf70


[ROCm/clr commit: 9b84e05427]
2023-03-09 00:19:25 -05:00
Anusha GodavarthySurya 9b84e05427 SWDEV-386102 - Handle code object v5
Change-Id: I47b840f484d90ca7815fb9c8af959ceaac62cf70
2023-03-09 00:19:25 -05:00
Konstantin Zhuravlyov 7e403f08a6 ISA/NFC: Change tabs to spaces
Change-Id: Iabc541ec78607881a2828cd79916a928b39dcfcb
2023-03-08 19:39:15 -05:00
Konstantin Zhuravlyov c05cf2ea0f ISA/NFC: Change tabs to spaces
Change-Id: Iabc541ec78607881a2828cd79916a928b39dcfcb


[ROCm/ROCR-Runtime commit: 7e403f08a6]
2023-03-08 19:39:15 -05:00
Jenkins b6cad8bd71 Merge 'develop' into 'amd-staging'
Change-Id: If1de40873add9a0e69513781c1d47e82a3fb2a5d


[ROCm/hip-tests commit: 8ba8ba51e0]
2023-03-09 00:11:03 +00:00
Jenkins 8ba8ba51e0 Merge 'develop' into 'amd-staging'
Change-Id: If1de40873add9a0e69513781c1d47e82a3fb2a5d
2023-03-09 00:11:03 +00:00
Wenkai Du 216c83c39d Fix XGMI detection (#699)
* Fix XGMI detection

* Increase stack size

* Temporarily disable signal hangler in CI

[Process: 17281] Inside handler function signal: Segmentation fault (11)
BFD: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530ea0)
BFD: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530ea0)

[ROCm/rccl commit: 22b81fbaae]
2023-03-08 14:08:07 -08:00
Wenkai Du 22b81fbaae Fix XGMI detection (#699)
* Fix XGMI detection

* Increase stack size

* Temporarily disable signal hangler in CI

[Process: 17281] Inside handler function signal: Segmentation fault (11)
BFD: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530ea0)
BFD: DWARF error: section .debug_info is larger than its filesize! (0x93ef57 vs 0x530ea0)
2023-03-08 14:08:07 -08:00
jatang 87a4e33150 SWDEV-386095 - Remove GL dependency from oclperf
Change-Id: Ie65e2b51af399e0816bb1f5283c8f2e7a330c730


[ROCm/clr commit: 94b1872628]
2023-03-08 15:55:54 -05:00
jatang 94b1872628 SWDEV-386095 - Remove GL dependency from oclperf
Change-Id: Ie65e2b51af399e0816bb1f5283c8f2e7a330c730
2023-03-08 15:55:54 -05:00
jatang 7fb52c0970 SWDEV-386844 - Find packages using the ROCM_INSTALL_PATH variable
Change-Id: Ia533bdd7fb904108142e1fe6033143e5a4f64a34


[ROCm/clr commit: 409e2c4438]
2023-03-08 09:45:08 -05:00
jatang 409e2c4438 SWDEV-386844 - Find packages using the ROCM_INSTALL_PATH variable
Change-Id: Ia533bdd7fb904108142e1fe6033143e5a4f64a34
2023-03-08 09:45:08 -05:00
Bill(Shuzhou) Liu ad3b7d9f0d amdsmitst crash when read ECC counter
If the amdsmi is fail to read ECC counter from sysfs file, it
still assumes the data is read into vector, which causes crash.

Add the check to make sure the data is read into the vector.

Change-Id: Ia24331ee6e75408120248b0ed7bc58581a2f23ad
2023-03-08 09:13:04 -05:00
Bill(Shuzhou) Liu e18c56efd8 amdsmitst crash when read ECC counter
If the amdsmi is fail to read ECC counter from sysfs file, it
still assumes the data is read into vector, which causes crash.

Add the check to make sure the data is read into the vector.

Change-Id: Ia24331ee6e75408120248b0ed7bc58581a2f23ad


[ROCm/amdsmi commit: ad3b7d9f0d]
2023-03-08 09:13:04 -05:00
Chauncey Hui 509d472940 SWDEV-2 - Change OpenCL version number from 3573 to 3574
[ROCm/clr commit: f3b84edf55]
2023-03-08 03:00:08 -05:00
Chauncey Hui f3b84edf55 SWDEV-2 - Change OpenCL version number from 3573 to 3574 2023-03-08 03:00:08 -05:00
Jonathan R. Madsen 81b67dcb88 Update entrypoint-rhel.sh (#255)
- fix endif instead of fi typo in bash script

[ROCm/rocprofiler-systems commit: 40e0d2a92f]
2023-03-08 01:54:06 -06:00
Jonathan R. Madsen 40e0d2a92f Update entrypoint-rhel.sh (#255)
- fix endif instead of fi typo in bash script
2023-03-08 01:54:06 -06:00
Maneesh Gupta 4d354c8778 Update config_amd_linux_common.json
[ROCm/hip-tests commit: a25ea2ca40]
2023-03-08 12:22:28 +05:30
Maneesh Gupta a25ea2ca40 Update config_amd_linux_common.json 2023-03-08 12:22:28 +05:30
Jonathan R. Madsen e70d684c98 Python 3.11 support + update RedHat CPack (#254)
* Fixes for Python 3.11

* Add python 3.11 to scripts

- also tweak to to{upper,lower} bash functions

* Fix PAPI RPM packaging in RedHat

- fix error from #!/usr/bin/python in papi_hl_output_writer.py
  - requires either python2 or python3 instead of python

* cpack updates

- only generate STGZ for RedHat
- support `--generators` arg in build-release.sh
- support 7z, zip, and other zip generators
- fix build-release.sh with `--mpi`
- support setting CONDA_ROOT

* Support rhel/fedora/centos in omnitrace-install.py

* RedHat status badge

* Fix support for Python 3.11 + tweak ubuntu ci

- Remove installing clang and mpich in Ubuntu CI container
- Fallback on conda-forge for Python 3.11
- Enable entrypoint-rhel.sh for RHEL CI
- Pull latest container by default

* Update ElfUtils and PAPI builds

- quieter build output
- disable-nls for ElfUtils
- use -s flag for make

* Development Guide Docs

[ROCm/rocprofiler-systems commit: 83f9ed8696]
2023-03-08 00:19:29 -06:00
Jonathan R. Madsen 83f9ed8696 Python 3.11 support + update RedHat CPack (#254)
* Fixes for Python 3.11

* Add python 3.11 to scripts

- also tweak to to{upper,lower} bash functions

* Fix PAPI RPM packaging in RedHat

- fix error from #!/usr/bin/python in papi_hl_output_writer.py
  - requires either python2 or python3 instead of python

* cpack updates

- only generate STGZ for RedHat
- support `--generators` arg in build-release.sh
- support 7z, zip, and other zip generators
- fix build-release.sh with `--mpi`
- support setting CONDA_ROOT

* Support rhel/fedora/centos in omnitrace-install.py

* RedHat status badge

* Fix support for Python 3.11 + tweak ubuntu ci

- Remove installing clang and mpich in Ubuntu CI container
- Fallback on conda-forge for Python 3.11
- Enable entrypoint-rhel.sh for RHEL CI
- Pull latest container by default

* Update ElfUtils and PAPI builds

- quieter build output
- disable-nls for ElfUtils
- use -s flag for make

* Development Guide Docs
2023-03-08 00:19:29 -06:00
Konstantin Zhuravlyov 8043fe9ee0 Loader/NFC: Factor out mach information into the struct
Change-Id: I9304c96336c434570bd5da92cd197ee764945907
2023-03-07 14:41:03 -05:00
Konstantin Zhuravlyov d861267d20 Loader/NFC: Factor out mach information into the struct
Change-Id: I9304c96336c434570bd5da92cd197ee764945907


[ROCm/ROCR-Runtime commit: 8043fe9ee0]
2023-03-07 14:41:03 -05:00
ROCm CI Service Account dd539e475d SWDEV-385406 - [hipcc] Pass HIP_PATH to clang (#3174)
The HIP_PATH env var has been broken by an earlier patch to change the
linking to the HIP runtime with --hip-link in hipcc.  We need to detect
when the HIP_PATH env var is defined, we have to pass that to the clang.

Change-Id: Iea939893844cce426d4bc4ace3539fc241363ff3


[ROCm/hip commit: 3fb0920a55]
2023-03-07 11:38:53 -08:00
ROCm CI Service Account 3fb0920a55 SWDEV-385406 - [hipcc] Pass HIP_PATH to clang (#3174)
The HIP_PATH env var has been broken by an earlier patch to change the
linking to the HIP runtime with --hip-link in hipcc.  We need to detect
when the HIP_PATH env var is defined, we have to pass that to the clang.

Change-Id: Iea939893844cce426d4bc4ace3539fc241363ff3
2023-03-07 11:38:53 -08:00
victzhan b112e3f19f SWDEV-366419 - Fix incorrect uuid in fillDeviceInfo
Change-Id: I993e0e88b2d050fdadd46193435bb2f17d4874fc


[ROCm/clr commit: 36cb8a995f]
2023-03-07 10:47:10 -05:00
victzhan 36cb8a995f SWDEV-366419 - Fix incorrect uuid in fillDeviceInfo
Change-Id: I993e0e88b2d050fdadd46193435bb2f17d4874fc
2023-03-07 10:47:10 -05:00
Jonathan R. Madsen 446fd36a93 Add RedHat CI and release packaging (#251)
- additional miscellaneous tweaks to workflows and docker scripts, e.g. install perfetto python bindings
- improves the stability of MPI finalization
- reduces some debug messages within timemory when `OMNITRACE_DEBUG=ON`
- fixes issue found in RHEL where libunwind is using mutex and omnitrace was not treating this as an internal mutex call
  - this may have been affecting the causal profiling slightly (tests seem a bit more stable now)
- fix data race in timemory

* Add RedHat CI and release packaging

- additional miscellaneous tweaks to workflows and docker scripts, e.g. install perfetto python bindings

* Fix URL for ROCm packages in redhat workflow

* Fix dnf --enable-repo for ROCm perl packages

* Dockerfile.rhel and redhat.yml updates

- Fix dnf repo for ROCm PERL packages
- Disable python in CI (interpreter segfaults)
- Exclude parallel-overhead-locks tests due to inclusion of internal locks
  - This needs to be remedied in the future

* Exclude _dl_relocate_static_pie from instrumentation

* Testing updates

- OMNITRACE_SAMPLING_KEEP_INTERNAL=OFF for parallel-overhead-locks

* Fix redhat workflow

* redhat.yml update

- remove if condition on config/build/test step

* Update timemory submodule

- tweaks to verbosity messages

* Set thread state before unw_step

- on Redhat, unw_step calls mutex

* Update timemory submodule

- verbosity changes
- gotcha uses spin_lock/spin_mutex

* Remove using gsplit-dwarf unless OMNITRACE_BUILD_NUMBER > 2

* Re-enable parallel-overhead-locks tests in redhat workflow

* Always disable timemory manager metadata auto output

* testing updates

- tweak parallel-overhead-locks-timemory to higher instruction count min
- OMNITRACE_SAMPLING_KEEP_INTERNAL=OFF for parallel-overhead-locks-perfetto

* Update timemory submodule

- quiet realpath queries

* omnitrace exe updates

- detect text files
- improved bin/lib locating

* cmake format

* test-install.sh and redhat workflow updates

- handle testing when ls is script
- re-enable python testing on redhat workflow
- invoke test-install.sh in redhat workflow

* Misc guards for finalization

* omnitrace-exe, testing updates

- test-install.sh: LS_EXEC -> LS_NAME
- handle /usr/bin/ls being script in source/bin/tests
- improve locating the binary

* Fix mpi_gotcha compile error

* omnitrace-exe updates

- improve file locating

* formatting

* Misc fixes

- remove -static-libstdc++ for RHEL packaging (rocky-linux doesn't distribute static lib)

* omnitrace-exe paths

* Replace realpath with absolute

- using absolute path to symlink fixes issues with locating libdyninstAPI_RT at runtime

* omnitrace exe updates

- judicious use of realpath

* Update timemory submodule

- fix update main hash ids/aliases data race in merge

* bin tests update

- change working directory of omnitrace-exe-simulate-lib-basename

* omnitrace exe updates

- Update resolved exe/lib messaging

* bin tests update

- change working directory of omnitrace-exe-simulate-lib-basename

[ROCm/rocprofiler-systems commit: 1688a027d8]
2023-03-07 06:04:19 -06:00
Jonathan R. Madsen 1688a027d8 Add RedHat CI and release packaging (#251)
- additional miscellaneous tweaks to workflows and docker scripts, e.g. install perfetto python bindings
- improves the stability of MPI finalization
- reduces some debug messages within timemory when `OMNITRACE_DEBUG=ON`
- fixes issue found in RHEL where libunwind is using mutex and omnitrace was not treating this as an internal mutex call
  - this may have been affecting the causal profiling slightly (tests seem a bit more stable now)
- fix data race in timemory

* Add RedHat CI and release packaging

- additional miscellaneous tweaks to workflows and docker scripts, e.g. install perfetto python bindings

* Fix URL for ROCm packages in redhat workflow

* Fix dnf --enable-repo for ROCm perl packages

* Dockerfile.rhel and redhat.yml updates

- Fix dnf repo for ROCm PERL packages
- Disable python in CI (interpreter segfaults)
- Exclude parallel-overhead-locks tests due to inclusion of internal locks
  - This needs to be remedied in the future

* Exclude _dl_relocate_static_pie from instrumentation

* Testing updates

- OMNITRACE_SAMPLING_KEEP_INTERNAL=OFF for parallel-overhead-locks

* Fix redhat workflow

* redhat.yml update

- remove if condition on config/build/test step

* Update timemory submodule

- tweaks to verbosity messages

* Set thread state before unw_step

- on Redhat, unw_step calls mutex

* Update timemory submodule

- verbosity changes
- gotcha uses spin_lock/spin_mutex

* Remove using gsplit-dwarf unless OMNITRACE_BUILD_NUMBER > 2

* Re-enable parallel-overhead-locks tests in redhat workflow

* Always disable timemory manager metadata auto output

* testing updates

- tweak parallel-overhead-locks-timemory to higher instruction count min
- OMNITRACE_SAMPLING_KEEP_INTERNAL=OFF for parallel-overhead-locks-perfetto

* Update timemory submodule

- quiet realpath queries

* omnitrace exe updates

- detect text files
- improved bin/lib locating

* cmake format

* test-install.sh and redhat workflow updates

- handle testing when ls is script
- re-enable python testing on redhat workflow
- invoke test-install.sh in redhat workflow

* Misc guards for finalization

* omnitrace-exe, testing updates

- test-install.sh: LS_EXEC -> LS_NAME
- handle /usr/bin/ls being script in source/bin/tests
- improve locating the binary

* Fix mpi_gotcha compile error

* omnitrace-exe updates

- improve file locating

* formatting

* Misc fixes

- remove -static-libstdc++ for RHEL packaging (rocky-linux doesn't distribute static lib)

* omnitrace-exe paths

* Replace realpath with absolute

- using absolute path to symlink fixes issues with locating libdyninstAPI_RT at runtime

* omnitrace exe updates

- judicious use of realpath

* Update timemory submodule

- fix update main hash ids/aliases data race in merge

* bin tests update

- change working directory of omnitrace-exe-simulate-lib-basename

* omnitrace exe updates

- Update resolved exe/lib messaging

* bin tests update

- change working directory of omnitrace-exe-simulate-lib-basename
2023-03-07 06:04:19 -06:00
Chauncey Hui 5b44438eb0 SWDEV-2 - Change OpenCL version number from 3572 to 3573
[ROCm/clr commit: c7fdb3fa68]
2023-03-07 03:00:07 -05:00
Chauncey Hui c7fdb3fa68 SWDEV-2 - Change OpenCL version number from 3572 to 3573 2023-03-07 03:00:07 -05:00
Maneesh Gupta 77e8b8ab0d Disable newly added failing tests
[ROCm/hip-tests commit: ac37f017e6]
2023-03-07 09:50:36 +05:30
Maneesh Gupta ac37f017e6 Disable newly added failing tests 2023-03-07 09:50:36 +05:30
Ranjith Ramakrishnan 1524852ae4 SWDEV-351540 - ASAN packaging for rocm-core
Package only ASAN libraries
Component based install
Suffix "asan" added to package name

Change-Id: Ic758eefef27742df3a4a4301fd3661714de4bb36


[ROCm/rocm-core commit: 2acbecc1b9]
2023-03-06 18:45:56 -08:00
Ranjith Ramakrishnan 2acbecc1b9 SWDEV-351540 - ASAN packaging for rocm-core
Package only ASAN libraries
Component based install
Suffix "asan" added to package name

Change-Id: Ic758eefef27742df3a4a4301fd3661714de4bb36
2023-03-06 18:45:56 -08:00