German
fe71f14732
SWDEV-434241 - Replace size_t with uint64_t
...
The kernel accepts uint64_t, but with 32bit OCL build size_t was 32 bit
Change-Id: I6fe37d2e5e69c7bd62d7b1bd4cace758758b3482
[ROCm/clr commit: b3171d08e6 ]
2023-12-08 16:56:29 -05:00
German
b3171d08e6
SWDEV-434241 - Replace size_t with uint64_t
...
The kernel accepts uint64_t, but with 32bit OCL build size_t was 32 bit
Change-Id: I6fe37d2e5e69c7bd62d7b1bd4cace758758b3482
2023-12-08 16:56:29 -05:00
gaba
4bf73f521b
libhsakmt: Fix CPU cache issue
...
For "Intel Meteor lake Mobile", the cache info is not in sysfs,
That means /sys/devices/system/node/node%d/%s/cache is not exist,
but system working fine.
Change-Id: Ie7c04426791a84c2288ff21df093226828a5f629
Signed-off-by: Gang Ba <Gang.Ba@amd.com >
2023-12-08 15:29:19 -05:00
gaba
dcf8b5fd6c
libhsakmt: Fix CPU cache issue
...
For "Intel Meteor lake Mobile", the cache info is not in sysfs,
That means /sys/devices/system/node/node%d/%s/cache is not exist,
but system working fine.
Change-Id: Ie7c04426791a84c2288ff21df093226828a5f629
Signed-off-by: Gang Ba <Gang.Ba@amd.com >
[ROCm/ROCR-Runtime commit: 4bf73f521b ]
2023-12-08 15:29:19 -05:00
Todd tiantuo Li
c7abb07c97
SWDEV-422544 - Use hipDeviceAttributeUnifiedAddressing as APU flag
...
Change-Id: If718a20f62f0ba8d83c01a0b2d16ff3f706f7bd4
[ROCm/clr commit: b825decd42 ]
2023-12-08 11:40:34 -05:00
Todd tiantuo Li
b825decd42
SWDEV-422544 - Use hipDeviceAttributeUnifiedAddressing as APU flag
...
Change-Id: If718a20f62f0ba8d83c01a0b2d16ff3f706f7bd4
2023-12-08 11:40:34 -05:00
Vladimir Indic
2271ed7730
pcs parser: includes fixed, GLOB removed ( #286 )
...
* pcs parser: includes fixed, GLOB removed
* source formatting (clang-format v11) (#287 )
Co-authored-by: vlaindic <vlaindic@users.noreply.github.com >
* cmake formatting (cmake-format) (#288 )
Co-authored-by: vlaindic <vlaindic@users.noreply.github.com >
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: vlaindic <vlaindic@users.noreply.github.com >
[ROCm/rocprofiler-sdk commit: 200be03bb4 ]
2023-12-08 17:36:32 +01:00
Vladimir Indic
200be03bb4
pcs parser: includes fixed, GLOB removed ( #286 )
...
* pcs parser: includes fixed, GLOB removed
* source formatting (clang-format v11) (#287 )
Co-authored-by: vlaindic <vlaindic@users.noreply.github.com >
* cmake formatting (cmake-format) (#288 )
Co-authored-by: vlaindic <vlaindic@users.noreply.github.com >
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: vlaindic <vlaindic@users.noreply.github.com >
2023-12-08 17:36:32 +01:00
Satyanvesh Dittakavi
a374f74baa
SWDEV-432684 - SWDEV-433437 - Fix test_gpu_jit MIGraphx test failure
...
Add clang pragma push and pop diagnostics for ignoring "-Weverything"
in the hiprtc builtins header. Otherwise this will ignore even the
geniune errors occurring in the hiprtc kernels.
Change-Id: I8c3dacf902732b2ea495d83e797369f8aebd75d6
[ROCm/clr commit: 912cc407a4 ]
2023-12-08 11:12:43 -05:00
Satyanvesh Dittakavi
912cc407a4
SWDEV-432684 - SWDEV-433437 - Fix test_gpu_jit MIGraphx test failure
...
Add clang pragma push and pop diagnostics for ignoring "-Weverything"
in the hiprtc builtins header. Otherwise this will ignore even the
geniune errors occurring in the hiprtc kernels.
Change-Id: I8c3dacf902732b2ea495d83e797369f8aebd75d6
2023-12-08 11:12:43 -05:00
Jaydeep Patel
a44c628719
SWDEV-429009 - Moved hipDeviceAttributeHostRegisterSupported in end as having inbetween breaks compatibility with blender (No GPU Detected issue).
...
Change-Id: I3f83a2813d917448bddae2a9cb2ba67d8b8ce0b0
[ROCm/hip commit: 6cb746858d ]
2023-12-08 11:02:27 -05:00
Jaydeep Patel
6cb746858d
SWDEV-429009 - Moved hipDeviceAttributeHostRegisterSupported in end as having inbetween breaks compatibility with blender (No GPU Detected issue).
...
Change-Id: I3f83a2813d917448bddae2a9cb2ba67d8b8ce0b0
2023-12-08 11:02:27 -05:00
Nives Vukovic
8c4b2675cc
EXSWHTEC-173 - Implement tests for Graph Node dependencies APIs ( #50 )
...
Recreation of github PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/50
Change-Id: I65707d9d0bfa12c08d82779c1402215f22d7815b
[ROCm/hip-tests commit: 91ee1399df ]
2023-12-08 10:28:47 -05:00
Nives Vukovic
91ee1399df
EXSWHTEC-173 - Implement tests for Graph Node dependencies APIs ( #50 )
...
Recreation of github PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/50
Change-Id: I65707d9d0bfa12c08d82779c1402215f22d7815b
2023-12-08 10:28:47 -05:00
Jatin Chaudhary
3057d60aec
SWDEV-429802 - add address sanitizer build option to hip-tests
...
Change-Id: I5662e1d7a08c81239e043ddc7b48853a414a3556
[ROCm/hip-tests commit: 7cfc4a3664 ]
2023-12-08 10:25:29 -05:00
Jatin Chaudhary
7cfc4a3664
SWDEV-429802 - add address sanitizer build option to hip-tests
...
Change-Id: I5662e1d7a08c81239e043ddc7b48853a414a3556
2023-12-08 10:25:29 -05:00
Jaydeep Patel
2c41a3c2f4
SWDEV-411680 - Create stream after device is set.
...
Change-Id: I3eec0b6855ff9377fdd5bc34128cac9e4af9ec7f
[ROCm/hip-tests commit: cd6796db58 ]
2023-12-08 10:23:46 -05:00
Jaydeep Patel
cd6796db58
SWDEV-411680 - Create stream after device is set.
...
Change-Id: I3eec0b6855ff9377fdd5bc34128cac9e4af9ec7f
2023-12-08 10:23:46 -05:00
Benjamin Welton
c19e054225
Fix clock check for reproducible runtime ( #281 )
...
* Fix clock check for reproducible runtime
* source formatting (clang-format v11) (#282 )
Co-authored-by: bwelton <bwelton@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: efbb154515 ]
2023-12-08 01:25:23 -08:00
Benjamin Welton
efbb154515
Fix clock check for reproducible runtime ( #281 )
...
* Fix clock check for reproducible runtime
* source formatting (clang-format v11) (#282 )
Co-authored-by: bwelton <bwelton@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-12-08 01:25:23 -08:00
Karl W Schulz
ccd6fe8273
disable coverage comment
...
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: 98b18d9f39 ]
2023-12-07 17:30:07 -06:00
Karl W Schulz
98b18d9f39
disable coverage comment
...
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
2023-12-07 17:30:07 -06:00
Karl W Schulz
37907b833c
update vcopy execution in profile testing mode to match latest
...
command-line usage
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: 7f0fbc0a9a ]
2023-12-07 17:15:03 -06:00
Karl W Schulz
7f0fbc0a9a
update vcopy execution in profile testing mode to match latest
...
command-line usage
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
2023-12-07 17:15:03 -06:00
Giovanni Lenzi Baraldi
c1c939deaf
Gbaraldi/pcparser2 ( #266 )
...
* Rollback PCparser. Separated GFX9 and ID tests. Fixed flags for GFX9 tests.
* Removing C++ header from rocr.h. Fixing CMakeLists.
* Moved PCS benchmark to separate unit.
* Fixed workgrouP naming
* Adding inline on header functions
* Fixing pull conflicts.
* source formatting (clang-format v11) (#268 )
Co-authored-by: ApoKalipse-V <ApoKalipse-V@users.noreply.github.com >
* cmake formatting (cmake-format) (#267 )
Co-authored-by: ApoKalipse-V <ApoKalipse-V@users.noreply.github.com >
* Removed leftover rocprofiler folder for pcparser
* Adding <array> header on translation.hpp
* Fixing PCS test names.
* Chaging parser tests failure to the status_t value
* Renaming pcs_parser tests
* Removing benchmark test
* Adding const to a few variables
* source formatting (clang-format v11) (#269 )
Co-authored-by: ApoKalipse-V <ApoKalipse-V@users.noreply.github.com >
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ApoKalipse-V <ApoKalipse-V@users.noreply.github.com >
[ROCm/rocprofiler-sdk commit: cce7fda5fb ]
2023-12-07 19:42:56 -03:00
Giovanni Lenzi Baraldi
cce7fda5fb
Gbaraldi/pcparser2 ( #266 )
...
* Rollback PCparser. Separated GFX9 and ID tests. Fixed flags for GFX9 tests.
* Removing C++ header from rocr.h. Fixing CMakeLists.
* Moved PCS benchmark to separate unit.
* Fixed workgrouP naming
* Adding inline on header functions
* Fixing pull conflicts.
* source formatting (clang-format v11) (#268 )
Co-authored-by: ApoKalipse-V <ApoKalipse-V@users.noreply.github.com >
* cmake formatting (cmake-format) (#267 )
Co-authored-by: ApoKalipse-V <ApoKalipse-V@users.noreply.github.com >
* Removed leftover rocprofiler folder for pcparser
* Adding <array> header on translation.hpp
* Fixing PCS test names.
* Chaging parser tests failure to the status_t value
* Renaming pcs_parser tests
* Removing benchmark test
* Adding const to a few variables
* source formatting (clang-format v11) (#269 )
Co-authored-by: ApoKalipse-V <ApoKalipse-V@users.noreply.github.com >
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ApoKalipse-V <ApoKalipse-V@users.noreply.github.com >
2023-12-07 19:42:56 -03:00
Karl W Schulz
aa6a7443ae
Update return code error checks for roofline-only analysis on MI100
...
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: 3ba5f1d337 ]
2023-12-07 15:57:45 -06:00
Karl W Schulz
3ba5f1d337
Update return code error checks for roofline-only analysis on MI100
...
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
2023-12-07 15:57:45 -06:00
Karl W Schulz
bf31e9099c
restore formal call to sys.exit() in top-level main; this is needed
...
for companion testing collateral which expects SystemExit exceptions
to be raised.
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
[ROCm/rocprofiler-compute commit: 9b4b6aee8e ]
2023-12-07 14:40:07 -06:00
Karl W Schulz
9b4b6aee8e
restore formal call to sys.exit() in top-level main; this is needed
...
for companion testing collateral which expects SystemExit exceptions
to be raised.
Signed-off-by: Karl W Schulz <karl.schulz@amd.com >
2023-12-07 14:40:07 -06:00
David Yat Sin
c86837d8d6
Add query for agent memory and aql ext properties
...
Add query to return flags for GPU agent memory properties and AQL
extensions.
Implement flag to determine that GPU agent is an APU
Change-Id: Ic04c51290b2b9763e14989c117f35a2e22297453
2023-12-07 14:41:37 -05:00
David Yat Sin
ff3818c725
Add query for agent memory and aql ext properties
...
Add query to return flags for GPU agent memory properties and AQL
extensions.
Implement flag to determine that GPU agent is an APU
Change-Id: Ic04c51290b2b9763e14989c117f35a2e22297453
[ROCm/ROCR-Runtime commit: c86837d8d6 ]
2023-12-07 14:41:37 -05:00
Saleel Kudchadker
f969d89aa4
SWDEV-301667 - Logging refactor
...
- Remove newline from logging as log function internally inserts a new
line
Change-Id: I25eb2242a1f1e87cf811bcc373d1d485b2e027a8
[ROCm/clr commit: 058b2702db ]
2023-12-07 12:12:57 -05:00
Saleel Kudchadker
058b2702db
SWDEV-301667 - Logging refactor
...
- Remove newline from logging as log function internally inserts a new
line
Change-Id: I25eb2242a1f1e87cf811bcc373d1d485b2e027a8
2023-12-07 12:12:57 -05:00
Giovanni LB
d5e968989c
SWDEV-409155: Adding ATT plugin tests
...
Change-Id: I684affa4a63ed1c6fd7d8a4bb18f83697c3181a3
2023-12-07 13:01:43 -03:00
Giovanni LB
c22968c3ac
SWDEV-409155: Adding ATT plugin tests
...
Change-Id: I684affa4a63ed1c6fd7d8a4bb18f83697c3181a3
[ROCm/rocprofiler commit: d5e968989c ]
2023-12-07 13:01:43 -03:00
JoseSantosAMD
e1aed0ad40
update CMakeLists.txt
...
Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com >
[ROCm/rocprofiler-compute commit: 2bf487ca4a ]
2023-12-07 08:40:19 -06:00
JoseSantosAMD
2bf487ca4a
update CMakeLists.txt
...
Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com >
2023-12-07 08:40:19 -06:00
JoseSantosAMD
29ff3c36ea
Enable running on mi100 and fixed typos
...
- Also enables RHEL9 roofline
Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com >
[ROCm/rocprofiler-compute commit: 92f91e4715 ]
2023-12-07 08:40:19 -06:00
JoseSantosAMD
92f91e4715
Enable running on mi100 and fixed typos
...
- Also enables RHEL9 roofline
Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com >
2023-12-07 08:40:19 -06:00
guanyu12
f7690cf57a
Merge amd-staging into amd-master 20231207
...
Signed-off-by: guanyu12 <guanyu12@amd.com >
Change-Id: Ic67feea6e7d21338cc3bbd76220f03effec59cbf
[ROCm/rocm_smi_lib commit: 6793fda4ef ]
2023-12-07 13:21:57 +08:00
guanyu12
6793fda4ef
Merge amd-staging into amd-master 20231207
...
Signed-off-by: guanyu12 <guanyu12@amd.com >
Change-Id: Ic67feea6e7d21338cc3bbd76220f03effec59cbf
2023-12-07 13:21:57 +08:00
Charis Poag
18fa660402
Memory partition permission denied fix
...
Received EACCES return for file that does not have
write access (read only). Permissions would be an
issue, but we check for sudo/root permissions early on.
Change-Id: I98615b02e4acccc59facb42225887a6b7273716b
Signed-off-by: Charis Poag <Charis.Poag@amd.com >
[ROCm/rocm_smi_lib commit: c6b0c93e6f ]
2023-12-06 21:51:30 -05:00
Charis Poag
c6b0c93e6f
Memory partition permission denied fix
...
Received EACCES return for file that does not have
write access (read only). Permissions would be an
issue, but we check for sudo/root permissions early on.
Change-Id: I98615b02e4acccc59facb42225887a6b7273716b
Signed-off-by: Charis Poag <Charis.Poag@amd.com >
2023-12-06 21:51:30 -05:00
Lancelot SIX
c5db063b2f
trap_handler: Set status.skip_export when halting a wave
...
When inspecting waves on architectures where SPI may not initialize TTMP
registers, the debugger cannot reliably know if the trap handler was
entered and if it saved valuable information in TTMP registers.
This patch uses the status.skip_export bit (unused by the compute
shaders) to indicate that it got executed before halting a wave.
This is done except for gfx940, where ttmp11[31] can be used (as long as
TTMP registers are always initialized by SPI for this architecture). It
could be possible to be more selective as architectures always
initializing TTMP registers do not require this step, but always doing
is makes maintenance simpler.
Change-Id: I314db6b37772f7daa8bd405e6662a86658d3f5e0
2023-12-06 21:20:03 -05:00
Lancelot SIX
4c8a849772
trap_handler: Set status.skip_export when halting a wave
...
When inspecting waves on architectures where SPI may not initialize TTMP
registers, the debugger cannot reliably know if the trap handler was
entered and if it saved valuable information in TTMP registers.
This patch uses the status.skip_export bit (unused by the compute
shaders) to indicate that it got executed before halting a wave.
This is done except for gfx940, where ttmp11[31] can be used (as long as
TTMP registers are always initialized by SPI for this architecture). It
could be possible to be more selective as architectures always
initializing TTMP registers do not require this step, but always doing
is makes maintenance simpler.
Change-Id: I314db6b37772f7daa8bd405e6662a86658d3f5e0
[ROCm/ROCR-Runtime commit: c5db063b2f ]
2023-12-06 21:20:03 -05:00
Galantsev, Dmitrii
f38b62abf5
TESTS - Temporarily disable overdrive tests
...
Change-Id: Ice06d31e874621abf3135548eedfe2158281891d
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
[ROCm/rocm_smi_lib commit: 48163b8d4f ]
2023-12-06 19:33:17 -06:00
Galantsev, Dmitrii
48163b8d4f
TESTS - Temporarily disable overdrive tests
...
Change-Id: Ice06d31e874621abf3135548eedfe2158281891d
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
2023-12-06 19:33:17 -06:00
Benjamin Welton
28272d4cc9
Align calculation of cu_per_engine with compute_unit/shader_engs ( #278 )
...
* Align calculation of cu_per_engine with compute_unit/shader_engs
* source formatting (clang-format v11) (#279 )
Co-authored-by: bwelton <bwelton@users.noreply.github.com >
* Update agent.cpp
---------
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: 35928e6008 ]
2023-12-06 17:39:43 -06:00
Benjamin Welton
35928e6008
Align calculation of cu_per_engine with compute_unit/shader_engs ( #278 )
...
* Align calculation of cu_per_engine with compute_unit/shader_engs
* source formatting (clang-format v11) (#279 )
Co-authored-by: bwelton <bwelton@users.noreply.github.com >
* Update agent.cpp
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: bwelton <bwelton@users.noreply.github.com >
2023-12-06 17:39:43 -06:00