76333 Commity
Autor SHA1 Wiadomość Data
Alex Sierra 0cbf26c148 src: add debug API to support GPU core dump
Functions to API added to extract the following information from KFD
Runtime information, device info and queues snapshot.

Signed-off-by: Alex Sierra <Alex.Sierra@amd.com>
Change-Id: If995ecc54497ab61189bb0f209c64af0bbb0f56f
2023-06-26 18:58:15 +00:00
Alex Sierra 6fb53cdb1b src: add debug API to support GPU core dump
Functions to API added to extract the following information from KFD
Runtime information, device info and queues snapshot.

Signed-off-by: Alex Sierra <Alex.Sierra@amd.com>
Change-Id: If995ecc54497ab61189bb0f209c64af0bbb0f56f


[ROCm/ROCR-Runtime commit: 0cbf26c148]
2023-06-26 18:58:15 +00:00
Alex Sierra 5e0a32d7b3 add hsaKmtGetRuntimeCapabilities API
Queries for runtime capabilities after its being enabled

Signed-off-by: Alex Sierra <alex.sierra@amd.com>
Change-Id: I098c0e9862c0c1d5e304b111cdc281c0ccd09691
2023-06-26 18:58:15 +00:00
Alex Sierra b5ba77994a add hsaKmtGetRuntimeCapabilities API
Queries for runtime capabilities after its being enabled

Signed-off-by: Alex Sierra <alex.sierra@amd.com>
Change-Id: I098c0e9862c0c1d5e304b111cdc281c0ccd09691


[ROCm/ROCR-Runtime commit: 5e0a32d7b3]
2023-06-26 18:58:15 +00:00
gobhardw f1b097e37e Fixing copy_on_engine app
Change-Id: Icd53a9eead2d8ca422838cd2843860c9ead57fff
2023-06-26 23:24:20 +05:30
gobhardw 1ae1c3ea44 Fixing copy_on_engine app
Change-Id: Icd53a9eead2d8ca422838cd2843860c9ead57fff


[ROCm/rocprofiler commit: f1b097e37e]
2023-06-26 23:24:20 +05:30
Jatin Chaudhary bd7d119edd SWDEV-404816 - Default HIPCC_BIN_DIR to /opt/rocm/bin on Linux, incase user does not provide with one
Change-Id: I3a1dd467df787437ed923349776d3fe994928e0d


[ROCm/clr commit: 3fd7df3f4c]
2023-06-26 11:32:35 -04:00
Jatin Chaudhary 3fd7df3f4c SWDEV-404816 - Default HIPCC_BIN_DIR to /opt/rocm/bin on Linux, incase user does not provide with one
Change-Id: I3a1dd467df787437ed923349776d3fe994928e0d
2023-06-26 11:32:35 -04:00
Maneesh Gupta a2a80494ef Update config_amd_linux_common.json
Disable unstable tests based on stress testing - 23Jun

[ROCm/hip-tests commit: 77c6d80f31]
2023-06-26 21:01:13 +05:30
Maneesh Gupta 77c6d80f31 Update config_amd_linux_common.json
Disable unstable tests based on stress testing - 23Jun
2023-06-26 21:01:13 +05:30
Julia Jiang 78fe0ef04c SWDEV-390597 - NoGpuTst test of Catch2 fails with docker
Change-Id: Ibf65e0ec57d47357e0afd119200622e223850b1e


[ROCm/clr commit: a4cccd3b0e]
2023-06-26 10:21:57 -04:00
Julia Jiang a4cccd3b0e SWDEV-390597 - NoGpuTst test of Catch2 fails with docker
Change-Id: Ibf65e0ec57d47357e0afd119200622e223850b1e
2023-06-26 10:21:57 -04:00
Bill(Shuzhou) Liu 87c5c38d44 Crash if no hwmon sysfs
Return NOT_SUPPORTED if no hwmon sysfs.

Change-Id: I01356a21f004ab552ca6ef7ffb49934bfdfd5e31


[ROCm/rocm_smi_lib commit: 910bf677a9]
2023-06-26 08:00:32 -05:00
Bill(Shuzhou) Liu 910bf677a9 Crash if no hwmon sysfs
Return NOT_SUPPORTED if no hwmon sysfs.

Change-Id: I01356a21f004ab552ca6ef7ffb49934bfdfd5e31
2023-06-26 08:00:32 -05:00
Bill(Shuzhou) Liu a2d80150c6 Crash if no hwmon sysfs
Return NOT_SUPPORTED if no hwmon sysfs.

Change-Id: I01356a21f004ab552ca6ef7ffb49934bfdfd5e31


[ROCm/amdsmi commit: 910bf677a9]
2023-06-26 08:00:32 -05:00
Deepak Mewar 210af88a20 cmake option for hsmp
For enabling hsmp, run 'cmake .. -DENABLE_ESMI_LIB=ON'
else run 'cmake ..' for default compilation

Change-Id: I8effba13854bc12eeff4b50feb4f63643cae28e6
2023-06-26 05:55:18 -04:00
Deepak Mewar 0218a2797d cmake option for hsmp
For enabling hsmp, run 'cmake .. -DENABLE_ESMI_LIB=ON'
else run 'cmake ..' for default compilation

Change-Id: I8effba13854bc12eeff4b50feb4f63643cae28e6


[ROCm/amdsmi commit: 210af88a20]
2023-06-26 05:55:18 -04:00
Suma Hegde a51a5d76e0 add esmi src and inc paths to CMakeLists.txt
Amd-smi functions will be calling esmi functions.
Hence we need to include esmi source and include files

Change-Id: Icea0553ab76da64b89aebbf2423f26e0dd4fee65
2023-06-26 02:35:50 -04:00
Suma Hegde 18c5ae7414 add esmi src and inc paths to CMakeLists.txt
Amd-smi functions will be calling esmi functions.
Hence we need to include esmi source and include files

Change-Id: Icea0553ab76da64b89aebbf2423f26e0dd4fee65


[ROCm/amdsmi commit: a51a5d76e0]
2023-06-26 02:35:50 -04:00
Suma Hegde 3c7f106afc add esmi repo as git sub module
esmi library repo from gerrit path is added as submodule
to amd-smi repo.
To get esmi submodule synced along with amd-smi repo, cloning can be done with
"git clone --recurse-submodules" or
after cloning amd-smi repo,
"git submodule update --init" will sync the esmi library.

Change-Id: Ia0f382995f29018b469083b27918effc96a51b56
2023-06-26 02:35:27 -04:00
Suma Hegde 9d5f5d84fd add esmi repo as git sub module
esmi library repo from gerrit path is added as submodule
to amd-smi repo.
To get esmi submodule synced along with amd-smi repo, cloning can be done with
"git clone --recurse-submodules" or
after cloning amd-smi repo,
"git submodule update --init" will sync the esmi library.

Change-Id: Ia0f382995f29018b469083b27918effc96a51b56


[ROCm/amdsmi commit: 3c7f106afc]
2023-06-26 02:35:27 -04:00
taosang2 b005d758b9 SWDEV-407139 - Update __hipMapVector
Update __hipMapVector for C++11

Change-Id: I6179d9f3b2ddf4e42b9a6f7f3912322cfca02cfe


[ROCm/clr commit: d9955b6707]
2023-06-25 23:15:21 -04:00
taosang2 d9955b6707 SWDEV-407139 - Update __hipMapVector
Update __hipMapVector for C++11

Change-Id: I6179d9f3b2ddf4e42b9a6f7f3912322cfca02cfe
2023-06-25 23:15:21 -04:00
Hao Zhou c46a1eb2df Merge amd-staging into amd-master 20230625
Signed-off-by: Hao Zhou <Hao.Zhou@amd.com>
Change-Id: Id257f743e4a45881696c053b08a245b09b3e34ad


[ROCm/rocm_smi_lib commit: 58a09f7063]
2023-06-25 11:20:46 +08:00
Hao Zhou 58a09f7063 Merge amd-staging into amd-master 20230625
Signed-off-by: Hao Zhou <Hao.Zhou@amd.com>
Change-Id: Id257f743e4a45881696c053b08a245b09b3e34ad
2023-06-25 11:20:46 +08:00
taosang2 0cd953ac9a SWDEV-368553 - Fix C build failure
Change-Id: I56d760fa6cf8544100e3bcf3d35129bd16d8a42f


[ROCm/hipother commit: d26dff58a0]
2023-06-23 18:47:53 -04:00
taosang2 d26dff58a0 SWDEV-368553 - Fix C build failure
Change-Id: I56d760fa6cf8544100e3bcf3d35129bd16d8a42f
2023-06-23 18:47:53 -04:00
taosang2 0d9cc9efd2 SWDEV-368553 - Fix C build failure
Change-Id: I56d760fa6cf8544100e3bcf3d35129bd16d8a42f


[ROCm/clr commit: e9e69f4c07]
2023-06-23 18:47:53 -04:00
taosang2 e9e69f4c07 SWDEV-368553 - Fix C build failure
Change-Id: I56d760fa6cf8544100e3bcf3d35129bd16d8a42f
2023-06-23 18:47:53 -04:00
ajay a8d5879f26 SWDEV-406687 - combining rocblitcl and palblitcl blit kernel defs
Change-Id: Ia312d73584a03491e8d574f424295b64df6de174


[ROCm/clr commit: d6946ffcbc]
2023-06-23 18:38:36 -04:00
ajay d6946ffcbc SWDEV-406687 - combining rocblitcl and palblitcl blit kernel defs
Change-Id: Ia312d73584a03491e8d574f424295b64df6de174
2023-06-23 18:38:36 -04:00
Ammar ELWazir fe3fa1d83f Removing Kernel Trace from sys-trace as HIP_OPS have the same results
Change-Id: I17a578487e5b4f4f215d3af123a9e63e295bf6d8
2023-06-23 16:16:50 -04:00
Ammar ELWazir fb3baedbcf Removing Kernel Trace from sys-trace as HIP_OPS have the same results
Change-Id: I17a578487e5b4f4f215d3af123a9e63e295bf6d8


[ROCm/rocprofiler commit: fe3fa1d83f]
2023-06-23 16:16:50 -04:00
Ori Messinger 3447b795df kfdtest: Fix gfx_target_version Parsing Issue
The purpose of this patch is to fix an issue in the run_kfdtest.sh
script's gfx_target_version parsing.

When the character length of the "gfx_target_version" value is
equal to 5 instead of 6, it will now be zero padded on the left to
allow each Major/Minor/Stepping value to be parsed correctly.

Also, kfdtest.exclude file now replaces the default filter for
aqua_vanjaram with the following 3 gfx filters:
gfx940, gfx941, & gfx942

Signed-off-by: Ori Messinger <Ori.Messinger@amd.com>
Change-Id: I1f0264d3705803f24ad3c458e6bd367fbbec62be
2023-06-23 13:18:05 -04:00
Ori Messinger ab3b0098ba kfdtest: Fix gfx_target_version Parsing Issue
The purpose of this patch is to fix an issue in the run_kfdtest.sh
script's gfx_target_version parsing.

When the character length of the "gfx_target_version" value is
equal to 5 instead of 6, it will now be zero padded on the left to
allow each Major/Minor/Stepping value to be parsed correctly.

Also, kfdtest.exclude file now replaces the default filter for
aqua_vanjaram with the following 3 gfx filters:
gfx940, gfx941, & gfx942

Signed-off-by: Ori Messinger <Ori.Messinger@amd.com>
Change-Id: I1f0264d3705803f24ad3c458e6bd367fbbec62be


[ROCm/ROCR-Runtime commit: 3447b795df]
2023-06-23 13:18:05 -04:00
gobhardw 19099328cf Fixing input file processing and ATT
Change-Id: I34b674d6a6f67796c4747e40e2e3715780ffdb26
2023-06-23 21:21:47 +05:30
gobhardw 518312a00f Fixing input file processing and ATT
Change-Id: I34b674d6a6f67796c4747e40e2e3715780ffdb26


[ROCm/rocprofiler commit: 19099328cf]
2023-06-23 21:21:47 +05:30
gobhardw 971cad0cf5 Rocprofiler changes to enable Tracer tests in CI
Change-Id: I4cd3a0f832f267dfd32175212ee2953c088e4d03
2023-06-23 20:49:04 +05:30
gobhardw 01c7bd0573 Rocprofiler changes to enable Tracer tests in CI
Change-Id: I4cd3a0f832f267dfd32175212ee2953c088e4d03


[ROCm/rocprofiler commit: 971cad0cf5]
2023-06-23 20:49:04 +05:30
David Yat Sin 60a0fd64c4 Add query for driver gpu_id
Add query OS driver node ID (gpu_id)

Change-Id: I72ebc54d8ae5dbcd1346535912160a642b1065ae
2023-06-23 15:02:48 +00:00
David Yat Sin 175265aef4 Add query for driver gpu_id
Add query OS driver node ID (gpu_id)

Change-Id: I72ebc54d8ae5dbcd1346535912160a642b1065ae


[ROCm/ROCR-Runtime commit: 60a0fd64c4]
2023-06-23 15:02:48 +00:00
arvindcheru 1607567e42 ASAN build excluding additional files, Algodir support for share folder
* ASAN build excluding additional files, Algodir support for share folder (#786)
* Algodir support for share folder

[ROCm/rccl commit: bd14ac8b59]
2023-06-23 10:57:20 -04:00
arvindcheru bd14ac8b59 ASAN build excluding additional files, Algodir support for share folder
* ASAN build excluding additional files, Algodir support for share folder (#786)
* Algodir support for share folder
2023-06-23 10:57:20 -04:00
Matt Arsenault eed1597e39 SWDEV-1 - Fix -Wfinal-dtor-non-final-class
rocclr/platform/external_memory.hpp:93:30: warning: class with destructor marked 'final' cannot be inherited from [-Wfinal-dtor-non-final-class]
   93 |     virtual ~ExternalImage() final {}

Change-Id: I56d760fa6c08544100e3bc03d35129bd16d8a428


[ROCm/clr commit: e9750de215]
2023-06-23 09:06:56 -04:00
Matt Arsenault e9750de215 SWDEV-1 - Fix -Wfinal-dtor-non-final-class
rocclr/platform/external_memory.hpp:93:30: warning: class with destructor marked 'final' cannot be inherited from [-Wfinal-dtor-non-final-class]
   93 |     virtual ~ExternalImage() final {}

Change-Id: I56d760fa6c08544100e3bc03d35129bd16d8a428
2023-06-23 09:06:56 -04:00
Matt Arsenault 4af8b4ef0f SWDEV-1 - Fix -Winconsistent-missing-override
Change-Id: Ie69f234c755b112b7fe8ef7d00b8720bc178044c


[ROCm/clr commit: 98e0607f0e]
2023-06-23 09:04:28 -04:00
Matt Arsenault 98e0607f0e SWDEV-1 - Fix -Winconsistent-missing-override
Change-Id: Ie69f234c755b112b7fe8ef7d00b8720bc178044c
2023-06-23 09:04:28 -04:00
Ioannis Assiouras 320d7c1d9a SWDEV-405182 - Revert min alignment for abstract parameters stack to 16 bytes
Change-Id: I9e6ace281468e8ef11b011c58f5971ce8907f3c6


[ROCm/clr commit: 4add0e6563]
2023-06-23 04:39:51 -04:00
Ioannis Assiouras 4add0e6563 SWDEV-405182 - Revert min alignment for abstract parameters stack to 16 bytes
Change-Id: I9e6ace281468e8ef11b011c58f5971ce8907f3c6
2023-06-23 04:39:51 -04:00
gobhardw f44b80acfb Fixing Broken Tracing APIs
Change-Id: Ia73ff534fb8da81254007f28984f9f34f91bfb2c
2023-06-23 13:49:01 +05:30