Граф коммитов

64512 Коммитов

Автор SHA1 Сообщение Дата
Maneesh Gupta 57ef4d1147 SWDEV-403773 - catch configuration to auto detect and generate json per arch (#413)
Change-Id: Iad8e93157c3acc6fdecf2603fdf6d90416a3c6e4

[ROCm/hip-tests commit: 06398a85b9]
2023-09-07 17:28:49 +05:30
Maneesh Gupta 06398a85b9 SWDEV-403773 - catch configuration to auto detect and generate json per arch (#413)
Change-Id: Iad8e93157c3acc6fdecf2603fdf6d90416a3c6e4
2023-09-07 17:28:49 +05:30
Ioannis Assiouras 97d7b15428 SWDEV-420328 - Initialize AMD_LOG_MASK with decimals instead of hex
Change-Id: Id25510863c51206bca2e50fc93d6e1e1c5cbbfea


[ROCm/clr commit: 1302d6f119]
2023-09-07 03:04:37 -04:00
Ioannis Assiouras 1302d6f119 SWDEV-420328 - Initialize AMD_LOG_MASK with decimals instead of hex
Change-Id: Id25510863c51206bca2e50fc93d6e1e1c5cbbfea
2023-09-07 03:04:37 -04:00
Benjamin Welton 052966c94b Fix building of PC Sampling Experiment (#22)
* Fix pc_sample building

* source formatting (clang-format v11) (#43)

Co-authored-by: jrmadsen <jrmadsen@users.noreply.github.com>

* Update samples/pc_sampling/CMakeLists.txt

* Allow static_asserts from hsa/types.hpp to be disabled via build flags (#24)

* Fix pc_sample building

* Fix up hsa type checks

* Fix pc_sample building

* source formatting (clang-format v11)

* Revert check, now allow checks to be disabled by
compiler defines.

* Update samples/pc_sampling/common.h

---------

Co-authored-by: bwelton <bwelton@users.noreply.github.com>
Co-authored-by: Jonathan R. Madsen <jrmadsen@users.noreply.github.com>

* Update single-user-host-trap-retries-service-instantiation.cpp

- include vector

---------

Co-authored-by: Jonathan R. Madsen <jrmadsen@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: bwelton <bwelton@users.noreply.github.com>

[ROCm/rocprofiler-sdk commit: 28272b3e5f]
2023-09-07 00:06:06 -05:00
Benjamin Welton 28272b3e5f Fix building of PC Sampling Experiment (#22)
* Fix pc_sample building

* source formatting (clang-format v11) (#43)

Co-authored-by: jrmadsen <jrmadsen@users.noreply.github.com>

* Update samples/pc_sampling/CMakeLists.txt

* Allow static_asserts from hsa/types.hpp to be disabled via build flags (#24)

* Fix pc_sample building

* Fix up hsa type checks

* Fix pc_sample building

* source formatting (clang-format v11)

* Revert check, now allow checks to be disabled by
compiler defines.

* Update samples/pc_sampling/common.h

---------

Co-authored-by: bwelton <bwelton@users.noreply.github.com>
Co-authored-by: Jonathan R. Madsen <jrmadsen@users.noreply.github.com>

* Update single-user-host-trap-retries-service-instantiation.cpp

- include vector

---------

Co-authored-by: Jonathan R. Madsen <jrmadsen@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: bwelton <bwelton@users.noreply.github.com>
2023-09-07 00:06:06 -05:00
Hao Zhou 4ea74e3905 Merge amd-staging into amd-master 20230907
Signed-off-by: Hao Zhou <Hao.Zhou@amd.com>
Change-Id: If27857b677876229d45a9f686b1a7ec7c1316e15


[ROCm/rocm_smi_lib commit: 26c6f96d71]
2023-09-07 10:19:41 +08:00
Hao Zhou 26c6f96d71 Merge amd-staging into amd-master 20230907
Signed-off-by: Hao Zhou <Hao.Zhou@amd.com>
Change-Id: If27857b677876229d45a9f686b1a7ec7c1316e15
2023-09-07 10:19:41 +08:00
Jacob Lambert 1ed5b0b9c5 Revert "SWDEV-410182: Link device-libs when compiling source to bitcode"
This reverts commit 58e62063f3.

Reason for revert: There are currently some outstanding issues with the COMPILE_SOURCE_WITH_DEVICE_LIBS Comgr action (https://ontrack-internal.amd.com/browse/SWDEV-386072). Once these LLVM issues have been resovled, we can safely re-apply this patch

Change-Id: I8501967af8496ea50d6e4a97399e45db51bbed1e


[ROCm/clr commit: 19526e46e6]
2023-09-06 21:34:03 -04:00
Jacob Lambert 19526e46e6 Revert "SWDEV-410182: Link device-libs when compiling source to bitcode"
This reverts commit f3dc04a50d.

Reason for revert: There are currently some outstanding issues with the COMPILE_SOURCE_WITH_DEVICE_LIBS Comgr action (https://ontrack-internal.amd.com/browse/SWDEV-386072). Once these LLVM issues have been resovled, we can safely re-apply this patch

Change-Id: I8501967af8496ea50d6e4a97399e45db51bbed1e
2023-09-06 21:34:03 -04:00
Karl W. Schulz a6a9e41fb6 Addition of new files to demonstrate top-level data structure refactoring for
2.x version.  Introduces an Omniperf class as the primary structure to organize
work elements and allows for a simple main() which is highlighted in a
omniperf2 example. Demonstrates desired logger functionality including a custom
trace loglevel that can be used to provide more verbosity beyond the debug
level. Also introduces three abstract base classes to organize flexibility for
alternative implementations of key elements within omniperf:

  * underlying profiler tool (e.g. rocprof, rocscope, etc)
  * supported GPU architectures (SoC)
  * analysis environments (e.g. CLI, web-based, etc)

Stub examples for child classes relevant to currently supported options within
omniperf are included in separate files.

Signed-off-by: Karl W. Schulz <karl.schulz@amd.com>


[ROCm/rocprofiler-compute commit: f3e5db714c]
2023-09-06 17:00:06 -05:00
Karl W. Schulz f3e5db714c Addition of new files to demonstrate top-level data structure refactoring for
2.x version.  Introduces an Omniperf class as the primary structure to organize
work elements and allows for a simple main() which is highlighted in a
omniperf2 example. Demonstrates desired logger functionality including a custom
trace loglevel that can be used to provide more verbosity beyond the debug
level. Also introduces three abstract base classes to organize flexibility for
alternative implementations of key elements within omniperf:

  * underlying profiler tool (e.g. rocprof, rocscope, etc)
  * supported GPU architectures (SoC)
  * analysis environments (e.g. CLI, web-based, etc)

Stub examples for child classes relevant to currently supported options within
omniperf are included in separate files.

Signed-off-by: Karl W. Schulz <karl.schulz@amd.com>
2023-09-06 17:00:06 -05:00
Saleel Kudchadker 586f4abcd7 SWDEV-301667 - Balance AQL packet scopes
- Acquire and Release scopes for AQL need to be balanced. These were
missing on the AMD_OPT_FLUSH=0 path.

Change-Id: Ibf4132eb96800f155d7b664359c790d68a353e60


[ROCm/clr commit: 42c9cd0320]
2023-09-06 13:26:39 -04:00
Saleel Kudchadker 42c9cd0320 SWDEV-301667 - Balance AQL packet scopes
- Acquire and Release scopes for AQL need to be balanced. These were
missing on the AMD_OPT_FLUSH=0 path.

Change-Id: Ibf4132eb96800f155d7b664359c790d68a353e60
2023-09-06 13:26:39 -04:00
Julia Jiang 36f6a312b1 SWDEV-406233 - Add notes on hipMemoryType and PointerGetAttributes API for unsupported cuda enum
Change-Id: I1175c12a55c7cd306a5aed3f1a400ae7525f4cb5


[ROCm/hip commit: fffa5eab08]
2023-09-06 11:49:15 -04:00
Julia Jiang fffa5eab08 SWDEV-406233 - Add notes on hipMemoryType and PointerGetAttributes API for unsupported cuda enum
Change-Id: I1175c12a55c7cd306a5aed3f1a400ae7525f4cb5
2023-09-06 11:49:15 -04:00
Galantsev, Dmitrii fc852fc915 .gitignore - Ignore more build files
Change-Id: I5b5207e65cc3fd6537800db388da142c0e76c3ff
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2023-09-06 10:21:11 -05:00
Galantsev, Dmitrii dffa733579 .gitignore - Ignore more build files
Change-Id: I5b5207e65cc3fd6537800db388da142c0e76c3ff
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/rdc commit: fc852fc915]
2023-09-06 10:21:11 -05:00
Galantsev, Dmitrii 824056b0be .editorconfig - Remove whitespace rule
Change-Id: Ia928dcb49fc094889784a0afcbc4abbe35bd59c7
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2023-09-06 10:20:43 -05:00
Galantsev, Dmitrii a0b6940fdd .editorconfig - Remove whitespace rule
Change-Id: Ia928dcb49fc094889784a0afcbc4abbe35bd59c7
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/rdc commit: 824056b0be]
2023-09-06 10:20:43 -05:00
David Salinas 4963cb0b77 SWDEV-419396 - hipcc.bin.exe and hipconfig.bin.exe missing from build
Correct HIPAMD cmake file for finding/instaling hipcc.bin

Change-Id: I3aa56331615fa81a489464210a9be734e917aa47


[ROCm/clr commit: e1efdfbca1]
2023-09-06 10:55:54 -04:00
David Salinas e1efdfbca1 SWDEV-419396 - hipcc.bin.exe and hipconfig.bin.exe missing from build
Correct HIPAMD cmake file for finding/instaling hipcc.bin

Change-Id: I3aa56331615fa81a489464210a9be734e917aa47
2023-09-06 10:55:54 -04:00
Jaydeep Patel f5175f145d SWDEV-417317 - Bypass agent init for HIP.
Change-Id: I3396cf7c1feced03d29f5e5ff3c77474f4f7e1ec


[ROCm/clr commit: 198b7b412d]
2023-09-06 00:40:54 -04:00
Jaydeep Patel 198b7b412d SWDEV-417317 - Bypass agent init for HIP.
Change-Id: I3396cf7c1feced03d29f5e5ff3c77474f4f7e1ec
2023-09-06 00:40:54 -04:00
Ioannis Assiouras 60522dbdaf SWDEV-419664 - Set reserved0 field of hsa_kernel_dispatch_packet to zero
Change-Id: I2e9c503f1c393548aacad47d40da90a2126e522c


[ROCm/clr commit: 96ac99b4a0]
2023-09-05 19:10:33 -04:00
Ioannis Assiouras 96ac99b4a0 SWDEV-419664 - Set reserved0 field of hsa_kernel_dispatch_packet to zero
Change-Id: I2e9c503f1c393548aacad47d40da90a2126e522c
2023-09-05 19:10:33 -04:00
Jenkins caf25be633 SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: I04b1dd2421214a4f276a41217ccf615d8c419cf1


[ROCm/hip commit: d8ce5a0271]
2023-09-05 23:10:02 +00:00
Jenkins d8ce5a0271 SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: I04b1dd2421214a4f276a41217ccf615d8c419cf1
2023-09-05 23:10:02 +00:00
Giovanni LB 321ee7b7f1 SWDEV-419972: Fixing multiprocess test. Moved codeobj test above ATT test.
Change-Id: Ib877bfb721bf4c4b0b1c26dcc69a277f6b89012f
2023-09-05 13:29:28 -03:00
Giovanni LB 75d5522fb2 SWDEV-419972: Fixing multiprocess test. Moved codeobj test above ATT test.
Change-Id: Ib877bfb721bf4c4b0b1c26dcc69a277f6b89012f


[ROCm/rocprofiler commit: 321ee7b7f1]
2023-09-05 13:29:28 -03:00
Cole Ramos e9d464ef73 Merge pull request #168 from JoseSantosAMD/cpp_filt
uses c++filt instead of llvm-cxxfilt

[ROCm/rocprofiler-compute commit: 1289682045]
2023-09-05 09:21:02 -05:00
Cole Ramos 1289682045 Merge pull request #168 from JoseSantosAMD/cpp_filt
uses c++filt instead of llvm-cxxfilt
2023-09-05 09:21:02 -05:00
Ioannis Assiouras 0066c6cb6b SWDEV-420222 - Removed implementation of hipMemcpyArray functions
hipMemcpyArrayToArray, hipMemcpyFromArrayAsync, and hipMemcpyToArrayAsync
are deprecated in cuda and are missing the headers in hip_runtime_api.h.
Removed their implementation from hip_memory.cpp.

Change-Id: I9720aec6241515c56c66b7e90a37b2ed53347eb2


[ROCm/clr commit: 2bc6661737]
2023-09-04 13:35:08 +01:00
Ioannis Assiouras 2bc6661737 SWDEV-420222 - Removed implementation of hipMemcpyArray functions
hipMemcpyArrayToArray, hipMemcpyFromArrayAsync, and hipMemcpyToArrayAsync
are deprecated in cuda and are missing the headers in hip_runtime_api.h.
Removed their implementation from hip_memory.cpp.

Change-Id: I9720aec6241515c56c66b7e90a37b2ed53347eb2
2023-09-04 13:35:08 +01:00
Rahul Garg 87bbe33acd SWDEV-418360 - Continue parsing modules even when some module don't have
right binaries built for current device

Change-Id: Icc6a4233fbcede9b2dc6feb78e6bfbd761684c7f


[ROCm/clr commit: c9cf3bdc16]
2023-08-31 14:54:59 -04:00
Rahul Garg c9cf3bdc16 SWDEV-418360 - Continue parsing modules even when some module don't have
right binaries built for current device

Change-Id: Icc6a4233fbcede9b2dc6feb78e6bfbd761684c7f
2023-08-31 14:54:59 -04:00
ROCm CI Service Account 0f2c452432 SWDEV-415414 - Corrected the IMPORT_PREFIX path in FindHIP.cmake (#3308)
The IMPORT_PREFIX path in FindHIP.cmake was generated as <Install_Prefix>/hip rather than <Install_Prefix> in Linux OS
With file reorg backward compatibility turned off, the path <Install_Prefix>/hip is no more valid
Corrected the same, so that IMPORT_PREFIX will always be generated as <Install_Prefix>

Change-Id: I60b8ee5085c1b4eda0a8494d7f8e1e55accd2f82


[ROCm/hip commit: 9cb358b157]
2023-08-31 10:13:19 -07:00
ROCm CI Service Account 9cb358b157 SWDEV-415414 - Corrected the IMPORT_PREFIX path in FindHIP.cmake (#3308)
The IMPORT_PREFIX path in FindHIP.cmake was generated as <Install_Prefix>/hip rather than <Install_Prefix> in Linux OS
With file reorg backward compatibility turned off, the path <Install_Prefix>/hip is no more valid
Corrected the same, so that IMPORT_PREFIX will always be generated as <Install_Prefix>

Change-Id: I60b8ee5085c1b4eda0a8494d7f8e1e55accd2f82
2023-08-31 10:13:19 -07:00
David Yat Sin 4770b210f6 Fix for always returning 64 for cacheline size
Change-Id: I0e31d306a2e051ecb9ac019c4e6f5efa25eabba0
2023-08-31 13:50:49 +00:00
David Yat Sin 3e286607ca Fix for always returning 64 for cacheline size
Change-Id: I0e31d306a2e051ecb9ac019c4e6f5efa25eabba0


[ROCm/ROCR-Runtime commit: 4770b210f6]
2023-08-31 13:50:49 +00:00
Ioannis Assiouras f28fa0277e SWDEV-415937 - Make _IMPORT_PREFIX in hip*targets.cmake point to a relative path
Change-Id: Ib0f4321f2954254d0486d741d057f182cb2481a7


[ROCm/clr commit: 209525d6e4]
2023-08-31 08:10:50 -04:00
Ioannis Assiouras 209525d6e4 SWDEV-415937 - Make _IMPORT_PREFIX in hip*targets.cmake point to a relative path
Change-Id: Ib0f4321f2954254d0486d741d057f182cb2481a7
2023-08-31 08:10:50 -04:00
Sourabh Betigeri 22f367a172 SWDEV-418855 - Limits the 'no GWS' approach to gfx940, gfx11and gfx12
Change-Id: Iab2d34d3142902517124cec7ef3461cf7aa4b98c


[ROCm/clr commit: 7dc78d234d]
2023-08-30 23:48:02 -04:00
Sourabh Betigeri 7dc78d234d SWDEV-418855 - Limits the 'no GWS' approach to gfx940, gfx11and gfx12
Change-Id: Iab2d34d3142902517124cec7ef3461cf7aa4b98c
2023-08-30 23:48:02 -04:00
Jonathan R. Madsen 144d7018e7 Cleanup and reorg of lib/common (#34)
* Cleanup and reorg of lib/common

- remove stale code in helper.cpp
- move helper.hpp to demangle.hpp
- move helper.cpp to demangle.cpp
- update CMakeLists.txt with new filenames
- fix includes in config.cpp

* Remove log.hpp and join.hpp

- replace with glog and fmt

* Update lib/common/environment

- move implementation functions into cpp file

* Common library tests

- tests for demangling
- tests for mpl (template metaprogramming)
- tests for environment

[ROCm/rocprofiler-sdk commit: ba0eb11e96]
2023-08-30 22:31:36 -05:00
Jonathan R. Madsen ba0eb11e96 Cleanup and reorg of lib/common (#34)
* Cleanup and reorg of lib/common

- remove stale code in helper.cpp
- move helper.hpp to demangle.hpp
- move helper.cpp to demangle.cpp
- update CMakeLists.txt with new filenames
- fix includes in config.cpp

* Remove log.hpp and join.hpp

- replace with glog and fmt

* Update lib/common/environment

- move implementation functions into cpp file

* Common library tests

- tests for demangling
- tests for mpl (template metaprogramming)
- tests for environment
2023-08-30 22:31:36 -05:00
Jenkins 5b34efea7a SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: If03b236d9ffa4335d6ad7e8330bcdc4ed611d4d4


[ROCm/hip commit: b98fe0715b]
2023-08-30 23:10:27 +00:00
Jenkins b98fe0715b SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: If03b236d9ffa4335d6ad7e8330bcdc4ed611d4d4
2023-08-30 23:10:27 +00:00
Ranjith Ramakrishnan 6999cc612b Revert "For testing purpose removing the dependency of rocm-core-asan with rocm-core"
This reverts commit 1fa9649637.

Reason for revert: <The change was made for testing purpose. So reverting back>

Change-Id: Ie7618c7aa2b3d71efba950e296b48e728c651ff7


[ROCm/rocm-core commit: 6fa9abf3f1]
2023-08-30 17:48:23 -05:00
Ranjith Ramakrishnan 6fa9abf3f1 Revert "For testing purpose removing the dependency of rocm-core-asan with rocm-core"
This reverts commit 8ce1529027.

Reason for revert: <The change was made for testing purpose. So reverting back>

Change-Id: Ie7618c7aa2b3d71efba950e296b48e728c651ff7
2023-08-30 17:48:23 -05:00