Graf commitů
64512 Commity
Autor SHA1 Zpráva Datum
gobhardw c6729adaed Handle user input if first PMC line is empty
Change-Id: I456fd9360a4a8506fadcc975e71da112a26b07ae
2023-06-20 21:56:04 -04:00
gobhardw 0d09bed641 Handle user input if first PMC line is empty
Change-Id: I456fd9360a4a8506fadcc975e71da112a26b07ae


[ROCm/rocprofiler commit: c6729adaed]
2023-06-20 21:56:04 -04:00
ROCm CI Service Account 8262763c3a SWDEV-368819 - Add information for hipHostAlloc (#3251)
Change-Id: I16b889ade11797d08e98b9ce6e6fc750327ad8de


[ROCm/hip commit: dd5f15fa90]
2023-06-20 17:39:45 -07:00
ROCm CI Service Account dd5f15fa90 SWDEV-368819 - Add information for hipHostAlloc (#3251)
Change-Id: I16b889ade11797d08e98b9ce6e6fc750327ad8de
2023-06-20 17:39:45 -07:00
Ammar ELWazir ad68526537 SWDEV-401678: Fixing Record IDs for File/CLI Plugin
Change-Id: Icf36f716b69d3b8ee3e84d73e276dbff4dbe70ae
2023-06-20 20:39:25 -04:00
Ammar ELWazir f049822490 SWDEV-401678: Fixing Record IDs for File/CLI Plugin
Change-Id: Icf36f716b69d3b8ee3e84d73e276dbff4dbe70ae


[ROCm/rocprofiler commit: ad68526537]
2023-06-20 20:39:25 -04:00
ROCm CI Service Account 3048c339ab SWDEV-366138 - Add surface tests (#309)
Add surface tests
Optimize some codes
Change-Id: I1691b81d597bfd722d561778f919ebf8ca530e89


[ROCm/hip-tests commit: 2337705b55]
2023-06-20 16:33:37 -07:00
ROCm CI Service Account 2337705b55 SWDEV-366138 - Add surface tests (#309)
Add surface tests
Optimize some codes
Change-Id: I1691b81d597bfd722d561778f919ebf8ca530e89
2023-06-20 16:33:37 -07:00
ROCm CI Service Account a24f67d270 SWDEV-393139 - Update mipmap apis and types (#3260)
Add hipmipmappedArray to differentiate cuda
and driver apis on Nvidia
Label mipmap driver apis as deprecated
Add num_channels to hipMipmappedArray

Change-Id: Ief4ea80941e25d21acafd213b3a84a65eb20cf92

[ROCm/hip commit: f50fca365a]
2023-06-20 16:29:53 -07:00
ROCm CI Service Account f50fca365a SWDEV-393139 - Update mipmap apis and types (#3260)
Add hipmipmappedArray to differentiate cuda
and driver apis on Nvidia
Label mipmap driver apis as deprecated
Add num_channels to hipMipmappedArray

Change-Id: Ief4ea80941e25d21acafd213b3a84a65eb20cf92
2023-06-20 16:29:53 -07:00
Ammar ELWazir e3a756d8f7 SWDEV-288134: Workaround to enable roctracer early
Change-Id: Iae21dbfd9f50dcf2e317130c6dc8328f17eba553


[ROCm/roctracer commit: 04d0bd4874]
2023-06-20 21:59:19 +00:00
Ammar ELWazir 04d0bd4874 SWDEV-288134: Workaround to enable roctracer early
Change-Id: Iae21dbfd9f50dcf2e317130c6dc8328f17eba553
2023-06-20 21:59:19 +00:00
German c8e65415ea SWDEV-311270 - Clean-up IPC path in ROCclr
- Make IPC interfaces generic between devices and rely on the IPC buffer
for attach/detach logic

Change-Id: Id3c18d122030329b7ee532bbb6317de9dd6a0bbe


[ROCm/clr commit: 9aa6f25f1c]
2023-06-20 15:18:21 -04:00
German 9aa6f25f1c SWDEV-311270 - Clean-up IPC path in ROCclr
- Make IPC interfaces generic between devices and rely on the IPC buffer
for attach/detach logic

Change-Id: Id3c18d122030329b7ee532bbb6317de9dd6a0bbe
2023-06-20 15:18:21 -04:00
Saleel Kudchadker 60b9dc4a45 SWDEV-301667 - Better log
Change-Id: I3b5b3593cb0144e56a4ddea2fa29028544a73203


[ROCm/clr commit: b2240bcda5]
2023-06-20 14:26:44 -04:00
Saleel Kudchadker b2240bcda5 SWDEV-301667 - Better log
Change-Id: I3b5b3593cb0144e56a4ddea2fa29028544a73203
2023-06-20 14:26:44 -04:00
Sourabh Betigeri 395c4f1b40 SWDEV-406750 - Fix to avoid a warning when compiling HIP runtime
Change-Id: If1d848d334bc0121a96655781fc60b0321213398


[ROCm/clr commit: 0330801846]
2023-06-20 12:16:16 -04:00
Sourabh Betigeri 0330801846 SWDEV-406750 - Fix to avoid a warning when compiling HIP runtime
Change-Id: If1d848d334bc0121a96655781fc60b0321213398
2023-06-20 12:16:16 -04:00
Galantsev, Dmitrii e9dd6bfb51 SWDEV-406542 - Add gtest to install targets
Change-Id: I116505aaa33109fce66ab8daf9921e2de11a27d4
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/rocm_smi_lib commit: 82078565e9]
2023-06-20 11:14:56 -05:00
Galantsev, Dmitrii 82078565e9 SWDEV-406542 - Add gtest to install targets
Change-Id: I116505aaa33109fce66ab8daf9921e2de11a27d4
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2023-06-20 11:14:56 -05:00
Giovanni LB 83dac81840 Removed filter ignoring PMC/ATT
Change-Id: I455bca0fe2c1016f5c04bd7c9c1b9cf90702bff7
2023-06-20 11:25:03 -04:00
Giovanni LB 67a8247617 Removed filter ignoring PMC/ATT
Change-Id: I455bca0fe2c1016f5c04bd7c9c1b9cf90702bff7


[ROCm/rocprofiler commit: 83dac81840]
2023-06-20 11:25:03 -04:00
Konstantin Zhuravlyov cdaea3b1be SWDEV-325538 - Enable code object v5 by default
Change-Id: I8c2bd415461403366de6e8b9157dd2fa6dc0c2a6


[ROCm/clr commit: 5914ac3c6e]
2023-06-20 11:08:50 -04:00
Konstantin Zhuravlyov 5914ac3c6e SWDEV-325538 - Enable code object v5 by default
Change-Id: I8c2bd415461403366de6e8b9157dd2fa6dc0c2a6
2023-06-20 11:08:50 -04:00
Shweta Khatri 77bf357647 Defined a new extended scope memory region
Added HSA_AMD_MEMORY_POOL_GLOBAL_FLAG_EXT_SCOPE_FINE_GRAINED flag to enable extended scope memory region
where the device-scope atomics act as system-scope atomics

Change-Id: I79fc3207cb630dfc68bed2f8aabd75f35fe80b12
2023-06-20 11:00:05 -04:00
Shweta Khatri 76cc9034ff Defined a new extended scope memory region
Added HSA_AMD_MEMORY_POOL_GLOBAL_FLAG_EXT_SCOPE_FINE_GRAINED flag to enable extended scope memory region
where the device-scope atomics act as system-scope atomics

Change-Id: I79fc3207cb630dfc68bed2f8aabd75f35fe80b12


[ROCm/ROCR-Runtime commit: 77bf357647]
2023-06-20 11:00:05 -04:00
Ammar ELWazir e924466ce9 SWDEV-405933: Perfetto to support PID for MEMCopies Tracks
Change-Id: Iec7bc8ed88d5d5c23f453a872154dff1d1c2e1c1
2023-06-20 10:17:46 -04:00
Ammar ELWazir be900a3671 SWDEV-405933: Perfetto to support PID for MEMCopies Tracks
Change-Id: Iec7bc8ed88d5d5c23f453a872154dff1d1c2e1c1


[ROCm/rocprofiler commit: e924466ce9]
2023-06-20 10:17:46 -04:00
James Zhu 36666f5895 Enable sleep for all waiters
Enable sleep for all waiters with event age tracking support kernel.

Change-Id: Icd4e1e8d83b4a54e9f6aaa99691a6573211b3337
Signed-off-by: James Zhu <James.Zhu@amd.com>
2023-06-20 09:32:16 -04:00
James Zhu 3ac5245f3b Enable sleep for all waiters
Enable sleep for all waiters with event age tracking support kernel.

Change-Id: Icd4e1e8d83b4a54e9f6aaa99691a6573211b3337
Signed-off-by: James Zhu <James.Zhu@amd.com>


[ROCm/ROCR-Runtime commit: 36666f5895]
2023-06-20 09:32:16 -04:00
James Zhu 5871b28503 Add kernel version flag supports event age
KFD kernel version 1.13 starts to support event age
tracking which help elimating unncessary busy wait.

Change-Id: Ib447ed6e0350f3110a4d6b9b80a0388000dd0e72
Signed-off-by: James Zhu <James.Zhu@amd.com>
2023-06-20 09:32:03 -04:00
James Zhu 2cf7c88b34 Add kernel version flag supports event age
KFD kernel version 1.13 starts to support event age
tracking which help elimating unncessary busy wait.

Change-Id: Ib447ed6e0350f3110a4d6b9b80a0388000dd0e72
Signed-off-by: James Zhu <James.Zhu@amd.com>


[ROCm/ROCR-Runtime commit: 5871b28503]
2023-06-20 09:32:03 -04:00
Jonathan R. Madsen 41394a8fad GitHub Actions workflow and docker updates (#290)
* Support ROCm 5.5 in docker

* Update containers workflow

- add Ubuntu and OpenSUSE container builds for ROCm 5.4 and 5.5
- add RHEL builds

* Update cpack workflow

- build on PR against main when cpack.yml or docker files updated
- removed packaging for ROCm < 5.2 for many OSes
- added packaging for ROCm 5.5

* Update OpenSUSE workflow

- add python 3.11 to OMNITRACE_PYTHON_ENVS
- upload-artifacts name includes strategy.job-index (prevent overwrite)
- only upload artifacts on failure
- continue on error if upload artifacts fails

* Update RedHat workflow

- provide run-name
- add python 3.11 to OMNITRACE_PYTHON_ENVS
- upload-artifacts name includes strategy.job-index (prevent overwrite)
- only upload artifacts on failure
- continue on error if upload artifacts fails

* Update Ubuntu (Bionic) workflow

- add python 3.11 to OMNITRACE_PYTHON_ENVS
- upload-artifacts name includes strategy.job-index (prevent overwrite)
- only upload artifacts on failure
- continue on error if upload artifacts fails

* Update Ubuntu (Focal) workflow

- add python 3.11 to OMNITRACE_PYTHON_ENVS
- upload-artifacts name includes strategy.job-index (prevent overwrite)
- only upload artifacts on failure
- continue on error if upload artifacts fails
- remove testing of ROCm 4.3, 5.0, 5.1
- add testing of ROCm 5.5

* Update Ubuntu (Jammy) workflow

- add python 3.11 to OMNITRACE_PYTHON_ENVS
- upload-artifacts name includes strategy.job-index (prevent overwrite)
- only upload artifacts on failure
- continue on error if upload artifacts fails
- add testing of ROCm latest

* Dockerfile.{rhel,opensuse} update

- remove use of amdgpu-install in favor of installing rocm-dev package
  - In ROCm 5.5, amdgpu-install changed meaning of --usecase=rocm (added rocmdev use case)

* redhat workflow update

- remove use of amdgpu-install in favor of installing rocm-dev package
  - In ROCm 5.5, amdgpu-install changed meaning of --usecase=rocm (added rocmdev use case)

* build-docker.sh update

- add '--progress plain' to docker build commands

* Ubuntu (jammy) workflow update

- fix rocm installation

* Update Dockerfile.rhel

- add LIBRARY_PATH for /opt/amdgpu/lib64 for redhat

* Update Dockerfile.rhel

- install libpciaccess for rocm

[ROCm/rocprofiler-systems commit: 693f753a9e]
2023-06-20 06:26:17 -05:00
Jonathan R. Madsen 693f753a9e GitHub Actions workflow and docker updates (#290)
* Support ROCm 5.5 in docker

* Update containers workflow

- add Ubuntu and OpenSUSE container builds for ROCm 5.4 and 5.5
- add RHEL builds

* Update cpack workflow

- build on PR against main when cpack.yml or docker files updated
- removed packaging for ROCm < 5.2 for many OSes
- added packaging for ROCm 5.5

* Update OpenSUSE workflow

- add python 3.11 to OMNITRACE_PYTHON_ENVS
- upload-artifacts name includes strategy.job-index (prevent overwrite)
- only upload artifacts on failure
- continue on error if upload artifacts fails

* Update RedHat workflow

- provide run-name
- add python 3.11 to OMNITRACE_PYTHON_ENVS
- upload-artifacts name includes strategy.job-index (prevent overwrite)
- only upload artifacts on failure
- continue on error if upload artifacts fails

* Update Ubuntu (Bionic) workflow

- add python 3.11 to OMNITRACE_PYTHON_ENVS
- upload-artifacts name includes strategy.job-index (prevent overwrite)
- only upload artifacts on failure
- continue on error if upload artifacts fails

* Update Ubuntu (Focal) workflow

- add python 3.11 to OMNITRACE_PYTHON_ENVS
- upload-artifacts name includes strategy.job-index (prevent overwrite)
- only upload artifacts on failure
- continue on error if upload artifacts fails
- remove testing of ROCm 4.3, 5.0, 5.1
- add testing of ROCm 5.5

* Update Ubuntu (Jammy) workflow

- add python 3.11 to OMNITRACE_PYTHON_ENVS
- upload-artifacts name includes strategy.job-index (prevent overwrite)
- only upload artifacts on failure
- continue on error if upload artifacts fails
- add testing of ROCm latest

* Dockerfile.{rhel,opensuse} update

- remove use of amdgpu-install in favor of installing rocm-dev package
  - In ROCm 5.5, amdgpu-install changed meaning of --usecase=rocm (added rocmdev use case)

* redhat workflow update

- remove use of amdgpu-install in favor of installing rocm-dev package
  - In ROCm 5.5, amdgpu-install changed meaning of --usecase=rocm (added rocmdev use case)

* build-docker.sh update

- add '--progress plain' to docker build commands

* Ubuntu (jammy) workflow update

- fix rocm installation

* Update Dockerfile.rhel

- add LIBRARY_PATH for /opt/amdgpu/lib64 for redhat

* Update Dockerfile.rhel

- install libpciaccess for rocm
2023-06-20 06:26:17 -05:00
gobhardw c630d83f22 Handle user PMC input
Change-Id: I9146453ca0390aa0df22ee4ed9ca3fb4c7b06dbf
2023-06-20 06:27:11 -04:00
gobhardw 2d52ff6022 Handle user PMC input
Change-Id: I9146453ca0390aa0df22ee4ed9ca3fb4c7b06dbf


[ROCm/rocprofiler commit: c630d83f22]
2023-06-20 06:27:11 -04:00
ROCm CI Service Account bca4f634aa SWDEV-388958 - Enable Unit_hipGraphExecMemcpyNodeSetParamsToSymbol_Positive_Basic (#300)
Change-Id: I05937863e6ebbc991ff421c8b013140149c12c00

[ROCm/hip-tests commit: f4feab33bc]
2023-06-19 22:11:43 -07:00
ROCm CI Service Account f4feab33bc SWDEV-388958 - Enable Unit_hipGraphExecMemcpyNodeSetParamsToSymbol_Positive_Basic (#300)
Change-Id: I05937863e6ebbc991ff421c8b013140149c12c00
2023-06-19 22:11:43 -07:00
ROCm CI Service Account 85129ca201 SWDEV-399416 – remove wiki link (#299)
Remove wiki link from hip_texture_helper.hh

Change-Id: I97116cfdc6f8fc71f0eabc388117921eb12028d7

[ROCm/hip-tests commit: 7c56699b2b]
2023-06-19 22:11:16 -07:00
ROCm CI Service Account 7c56699b2b SWDEV-399416 – remove wiki link (#299)
Remove wiki link from hip_texture_helper.hh

Change-Id: I97116cfdc6f8fc71f0eabc388117921eb12028d7
2023-06-19 22:11:16 -07:00
ROCm CI Service Account b2576cbd8e SWDEV-397031 - Fix issue in Release mode where hipMalloc was never called (#308)
Change-Id: Id99a5f39035f14ea9a63f9b339e4fb6525e1d3c1

[ROCm/hip-tests commit: 62b2218368]
2023-06-19 22:10:49 -07:00
ROCm CI Service Account 62b2218368 SWDEV-397031 - Fix issue in Release mode where hipMalloc was never called (#308)
Change-Id: Id99a5f39035f14ea9a63f9b339e4fb6525e1d3c1
2023-06-19 22:10:49 -07:00
ROCm CI Service Account baaf8ee17d SWDEV-388943 - Enable Unit_hipGraphExecMemcpyNodeSetParamsFromSymbol_Positive_Basic (#310)
Change-Id: I7aabc2530b2cf05459e79edd41d73d6d0ec5f7d1

[ROCm/hip-tests commit: ca6882f031]
2023-06-19 22:10:21 -07:00
ROCm CI Service Account ca6882f031 SWDEV-388943 - Enable Unit_hipGraphExecMemcpyNodeSetParamsFromSymbol_Positive_Basic (#310)
Change-Id: I7aabc2530b2cf05459e79edd41d73d6d0ec5f7d1
2023-06-19 22:10:21 -07:00
Jonathan R. Madsen c6929f545d Perfetto annotation from timemory components (#289)
* Annotate perfetto with timemory component data

- support perfetto annotations via timemory component data, e.g. use PAPI component for exact HW counter annotations

* Tests for perfetto annotation via timemory data

* Update omnitrace-instrument

- remove --default-components argument as this overrides any components set in configuration file
- required by perfetto annotation via timemory data tests

* filter unavailable timemory components

- filter out unavailable timemory components before attempting to invoke the annotate operation on the bundle

* update annotate tests

- account for no PAPI support

* update lulesh-timemory test

- replace '-d wall_clock peak_rss' with '--env OMNITRACE_TIMEMORY_COMPONENTS="wall_clock peak_rss"'

* annotate tests update

- fix misnamed test

* annotate tests update

- restrict binary rewrite to run function to force instrumentation despite heuristics

* annotate tests update

- print {available,overlapping,excluded,instrumented} functions during binary rewrite

* annotate tests update

- add allow-overlapping flag

* Support PAPI with CAP_SYS_ADMIN

- do not disable PAPI if perf_event_paranoid > 2 but has CAP_SYS_ADMIN capability

[ROCm/rocprofiler-systems commit: 1aca8c177b]
2023-06-19 19:18:04 -05:00
Jonathan R. Madsen 1aca8c177b Perfetto annotation from timemory components (#289)
* Annotate perfetto with timemory component data

- support perfetto annotations via timemory component data, e.g. use PAPI component for exact HW counter annotations

* Tests for perfetto annotation via timemory data

* Update omnitrace-instrument

- remove --default-components argument as this overrides any components set in configuration file
- required by perfetto annotation via timemory data tests

* filter unavailable timemory components

- filter out unavailable timemory components before attempting to invoke the annotate operation on the bundle

* update annotate tests

- account for no PAPI support

* update lulesh-timemory test

- replace '-d wall_clock peak_rss' with '--env OMNITRACE_TIMEMORY_COMPONENTS="wall_clock peak_rss"'

* annotate tests update

- fix misnamed test

* annotate tests update

- restrict binary rewrite to run function to force instrumentation despite heuristics

* annotate tests update

- print {available,overlapping,excluded,instrumented} functions during binary rewrite

* annotate tests update

- add allow-overlapping flag

* Support PAPI with CAP_SYS_ADMIN

- do not disable PAPI if perf_event_paranoid > 2 but has CAP_SYS_ADMIN capability
2023-06-19 19:18:04 -05:00
German 00b9c77a3a SWDEV-404940 - Pass -cl-uniform-work-group-size to clang
Change-Id: I460dd848d439204e60f618669aef86f77e094c1a


[ROCm/clr commit: f13988b88b]
2023-06-19 19:44:29 -04:00
German f13988b88b SWDEV-404940 - Pass -cl-uniform-work-group-size to clang
Change-Id: I460dd848d439204e60f618669aef86f77e094c1a
2023-06-19 19:44:29 -04:00
Sreekant Somasekharan ea2f832a43 rocrtst: Fix RoundToPowerOf2 function
Compiler behavior is undefined if the right operand is negative,
or greater than or equal to the width of the promoted left operand.
For release builds with address sanitizer enabled, this compiler
optimization behavior leads to unsupported queue size value since
current method shifts till 128 bits on a 64 bit value.

Change-Id: Iddcc15b43d2331bc8bf5fc3aa4725f76844655ec
Signed-off-by: Sreekant Somasekharan <sreekant.somasekharan@amd.com>
2023-06-19 19:17:49 -04:00
Sreekant Somasekharan bf22d10ceb rocrtst: Fix RoundToPowerOf2 function
Compiler behavior is undefined if the right operand is negative,
or greater than or equal to the width of the promoted left operand.
For release builds with address sanitizer enabled, this compiler
optimization behavior leads to unsupported queue size value since
current method shifts till 128 bits on a 64 bit value.

Change-Id: Iddcc15b43d2331bc8bf5fc3aa4725f76844655ec
Signed-off-by: Sreekant Somasekharan <sreekant.somasekharan@amd.com>


[ROCm/ROCR-Runtime commit: ea2f832a43]
2023-06-19 19:17:49 -04:00