76333 Коммитов
Автор SHA1 Сообщение Дата
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
Galantsev, Dmitrii 56578b4333 SWDEV-406542 - Add gtest to install targets
Change-Id: I116505aaa33109fce66ab8daf9921e2de11a27d4
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/amdsmi commit: 82078565e9]
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
Jenkins 290cdd51fa Merge 'develop' into 'amd-staging'
Change-Id: Ia94cdfc147fe4e14c161eb4a1a9ff246754dba25


[ROCm/hip-tests commit: 67f044da12]
2023-06-19 23:11:43 +00:00
Jenkins 67f044da12 Merge 'develop' into 'amd-staging'
Change-Id: Ia94cdfc147fe4e14c161eb4a1a9ff246754dba25
2023-06-19 23:11:43 +00:00
Jonathan Kim 3e3e11bc5a Ensure HSA_ENABLE_SDMA=0 persists on new copy on engine API
Copy on engine API still needs to respect HSA_ENABLE_SDMA settings.

Change-Id: I26038b1e3082d62687c2e279615557583d20f229
2023-06-19 13:48:59 -04:00
Jonathan Kim 63463b14c3 Ensure HSA_ENABLE_SDMA=0 persists on new copy on engine API
Copy on engine API still needs to respect HSA_ENABLE_SDMA settings.

Change-Id: I26038b1e3082d62687c2e279615557583d20f229


[ROCm/ROCR-Runtime commit: 3e3e11bc5a]
2023-06-19 13:48:59 -04:00
ROCm CI Service Account d3f421cc5b SWDEV-397570 - Move tex2d call under IMAGE_SUPPORT guards. (#294)
Change-Id: Id7239f026dfb463c8c6d82b9656ac5b6716956fc

[ROCm/hip-tests commit: 3d29c352b9]
2023-06-19 09:40:06 -07:00
ROCm CI Service Account 3d29c352b9 SWDEV-397570 - Move tex2d call under IMAGE_SUPPORT guards. (#294)
Change-Id: Id7239f026dfb463c8c6d82b9656ac5b6716956fc
2023-06-19 09:40:06 -07:00
ROCm CI Service Account 4cf63839d1 SWDEV-384013 - Add HIPRTC_JIT_IR_TO_ISA_OPT_EXT tests (#301)
Change-Id: I57f3349a8e9ae1754f2823c7c143d6475ab6caac

[ROCm/hip-tests commit: af4826551c]
2023-06-19 09:39:34 -07:00
ROCm CI Service Account af4826551c SWDEV-384013 - Add HIPRTC_JIT_IR_TO_ISA_OPT_EXT tests (#301)
Change-Id: I57f3349a8e9ae1754f2823c7c143d6475ab6caac
2023-06-19 09:39:34 -07:00
ROCm CI Service Account 9387c33cc8 SWDEV-403762 - Enable Unit_hipDeviceGetPCIBusId_Negative_PartialFill. (#302)
Change-Id: I29d3bbc49a83191419e12cd08be755f53d63f1b0


[ROCm/hip-tests commit: f1dd16074b]
2023-06-19 09:39:03 -07:00
ROCm CI Service Account f1dd16074b SWDEV-403762 - Enable Unit_hipDeviceGetPCIBusId_Negative_PartialFill. (#302)
Change-Id: I29d3bbc49a83191419e12cd08be755f53d63f1b0
2023-06-19 09:39:03 -07:00
ROCm CI Service Account e115daf435 SWDEV-388922 - SWDEV-388942 - Enabled Unit_hipGraphMemsetNodeSetParams_Positive_Basic and Unit_hipGraphExecMemsetNodeSetParams_Positive_Basic tests. (#303)
Change-Id: I8791270eccf1140bc757d8a9f4a1a0d7dd533125

[ROCm/hip-tests commit: 7a4ee317e9]
2023-06-19 09:38:29 -07:00
ROCm CI Service Account 7a4ee317e9 SWDEV-388922 - SWDEV-388942 - Enabled Unit_hipGraphMemsetNodeSetParams_Positive_Basic and Unit_hipGraphExecMemsetNodeSetParams_Positive_Basic tests. (#303)
Change-Id: I8791270eccf1140bc757d8a9f4a1a0d7dd533125
2023-06-19 09:38:29 -07:00
ROCm CI Service Account 022b61a567 SWDEV-391999 - Enable Unit_hipMemset_Negative_OutOfBoundsPtr (#306)
Change-Id: I7f5ffaff7ff7f62d300610cd348df441fed701ea

[ROCm/hip-tests commit: 042d27a5f8]
2023-06-19 09:37:56 -07:00
ROCm CI Service Account 042d27a5f8 SWDEV-391999 - Enable Unit_hipMemset_Negative_OutOfBoundsPtr (#306)
Change-Id: I7f5ffaff7ff7f62d300610cd348df441fed701ea
2023-06-19 09:37:56 -07:00
ROCm CI Service Account 033af77612 SWDEV-367537 - Add tests for bfloat16 (#305)
Change-Id: I5a7fabd4416f765a37ac5dab8e8229f8d1a2afda


[ROCm/hip-tests commit: 2c2d1b749d]
2023-06-19 09:37:30 -07:00
ROCm CI Service Account 2c2d1b749d SWDEV-367537 - Add tests for bfloat16 (#305)
Change-Id: I5a7fabd4416f765a37ac5dab8e8229f8d1a2afda
2023-06-19 09:37:30 -07:00