76333 Коммитов
Автор SHA1 Сообщение Дата
Finlay 6226efa0b6 EXSWCPHIPT-109 - hipDeviceGetName tests (#2731)
[ROCm/hip commit: 7ab1791df3]
2022-06-16 09:27:59 +05:30
Finlay 7ab1791df3 EXSWCPHIPT-109 - hipDeviceGetName tests (#2731) 2022-06-16 09:27:59 +05:30
Ranjith Ramakrishnan 488b937709 SWDEV-335990 - Use GNUInstallDirs
GNUInstallDirs is used to allow the user to customize the install paths
of HIP, rather than using hardcoded locations.
Minimum cmake version updated to 3.16.8

Depends-On: I521c44dc34404b136141682c2777257b23ffa6e8
Change-Id: I2cff642c469d6d1e8bb3f1a3c151e6a03fb5d55b


[ROCm/clr commit: 8f8367fd49]
2022-06-15 23:49:54 -04:00
Ranjith Ramakrishnan 8f8367fd49 SWDEV-335990 - Use GNUInstallDirs
GNUInstallDirs is used to allow the user to customize the install paths
of HIP, rather than using hardcoded locations.
Minimum cmake version updated to 3.16.8

Depends-On: I521c44dc34404b136141682c2777257b23ffa6e8
Change-Id: I2cff642c469d6d1e8bb3f1a3c151e6a03fb5d55b
2022-06-15 23:49:54 -04:00
Jaydeep Patel 33a50636e9 SWDEV-333581 - Pass free and/or total size_t as nullptr.
Change-Id: Ib83467a351b6df22ef641c0e82284c7e0fac32e3


[ROCm/clr commit: a527c241a2]
2022-06-15 23:46:34 -04:00
Jaydeep Patel a527c241a2 SWDEV-333581 - Pass free and/or total size_t as nullptr.
Change-Id: Ib83467a351b6df22ef641c0e82284c7e0fac32e3
2022-06-15 23:46:34 -04:00
ROCm CI Service Account aceaceea4a SWDEV-336007 - Add sample which verifies CXX language support with amdclang++ (#2733)
Change-Id: Ib4dbe1ce66a7dbd4f60f0a2134d62bdf366aeac5


[ROCm/hip-tests commit: dcf336b09d]
2022-06-15 13:27:42 -07:00
ROCm CI Service Account dcf336b09d SWDEV-336007 - Add sample which verifies CXX language support with amdclang++ (#2733)
Change-Id: Ib4dbe1ce66a7dbd4f60f0a2134d62bdf366aeac5
2022-06-15 13:27:42 -07:00
ROCm CI Service Account 307846a9a1 SWDEV-336007 - Add sample which verifies CXX language support with amdclang++ (#2733)
Change-Id: Ib4dbe1ce66a7dbd4f60f0a2134d62bdf366aeac5


[ROCm/hip commit: 96d654e3af]
2022-06-15 13:27:42 -07:00
ROCm CI Service Account 96d654e3af SWDEV-336007 - Add sample which verifies CXX language support with amdclang++ (#2733)
Change-Id: Ib4dbe1ce66a7dbd4f60f0a2134d62bdf366aeac5
2022-06-15 13:27:42 -07:00
Kent Russell f7978b1ff6 run_kfdtest.sh: Add --exclude flag to exclude additional subtests
Currently, using --gtest_filter will override any exclusions from
kfdtest.exclude. To add an additional test (or set of tests) to the
exclusion list dynamically, the --exclude (-e) flag will allow the user
to pass in a string of GTest-style exclusions to add to the list
generated by kfdtest.exclude

e.g. run_kfdtest.sh -e "*KFDLocalMemoryTest.*:KFDEventTest.*"
will use kfdtest.exclude, but will also exclude all LocalMemory and
Event tests

Change-Id: Ic23ec271ba2cd2240d2e98558c0117ff2a064ed2
2022-06-15 16:08:38 -04:00
Kent Russell c173ad8e07 run_kfdtest.sh: Add --exclude flag to exclude additional subtests
Currently, using --gtest_filter will override any exclusions from
kfdtest.exclude. To add an additional test (or set of tests) to the
exclusion list dynamically, the --exclude (-e) flag will allow the user
to pass in a string of GTest-style exclusions to add to the list
generated by kfdtest.exclude

e.g. run_kfdtest.sh -e "*KFDLocalMemoryTest.*:KFDEventTest.*"
will use kfdtest.exclude, but will also exclude all LocalMemory and
Event tests

Change-Id: Ic23ec271ba2cd2240d2e98558c0117ff2a064ed2


[ROCm/ROCR-Runtime commit: f7978b1ff6]
2022-06-15 16:08:38 -04:00
Ori Messinger d97ddd9e67 ROCm SMI CLI: Fix setClockRange Error
This patch changes the error handling for setClockRange.

When a device does not support modifying a clock type (sclk/mclk),
an error message is printed through the python CLI.

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


[ROCm/rocm_smi_lib commit: 2b8d0ad70f]
2022-06-15 15:47:51 -04:00
Ori Messinger 2b8d0ad70f ROCm SMI CLI: Fix setClockRange Error
This patch changes the error handling for setClockRange.

When a device does not support modifying a clock type (sclk/mclk),
an error message is printed through the python CLI.

Signed-off-by: Ori Messinger <Ori.Messinger@amd.com>
Change-Id: I37d9ea4189b1ca81e5deaab5efa6cfa4901b89b3
2022-06-15 15:47:51 -04:00
Ori Messinger 99b2e41906 ROCm SMI CLI: Fix setClockRange Error
This patch changes the error handling for setClockRange.

When a device does not support modifying a clock type (sclk/mclk),
an error message is printed through the python CLI.

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


[ROCm/amdsmi commit: 2b8d0ad70f]
2022-06-15 15:47:51 -04:00
sdashmiz c6d10a3bf0 SWDEV-325711 - add Graph memory APIs skeleton
- hipDeviceGet/SetGraphMemAttr

- hipDeviceGraphMemTrim

- there is no memory pool for graphs currently

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I11db76ea7ea1c7732175fc93264448052357e8dc


[ROCm/hipother commit: 9e3c65ccbd]
2022-06-15 14:47:16 -04:00
sdashmiz 9e3c65ccbd SWDEV-325711 - add Graph memory APIs skeleton
- hipDeviceGet/SetGraphMemAttr

- hipDeviceGraphMemTrim

- there is no memory pool for graphs currently

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I11db76ea7ea1c7732175fc93264448052357e8dc
2022-06-15 14:47:16 -04:00
sdashmiz 57a0d997d3 SWDEV-325711 - add Graph memory APIs skeleton
- hipDeviceGet/SetGraphMemAttr

- hipDeviceGraphMemTrim

- there is no memory pool for graphs currently

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I11db76ea7ea1c7732175fc93264448052357e8dc


[ROCm/clr commit: e8194dca76]
2022-06-15 14:47:16 -04:00
sdashmiz e8194dca76 SWDEV-325711 - add Graph memory APIs skeleton
- hipDeviceGet/SetGraphMemAttr

- hipDeviceGraphMemTrim

- there is no memory pool for graphs currently

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I11db76ea7ea1c7732175fc93264448052357e8dc
2022-06-15 14:47:16 -04:00
ROCm CI Service Account bebf1a2bc9 SWDEV-339657 - Update catch codes with correct coordinates (#2735)
Change-Id: I8ca78d770a742bf6c2abede494759caa923fcc19


[ROCm/hip-tests commit: d31aca651d]
2022-06-15 10:58:10 -07:00
ROCm CI Service Account d31aca651d SWDEV-339657 - Update catch codes with correct coordinates (#2735)
Change-Id: I8ca78d770a742bf6c2abede494759caa923fcc19
2022-06-15 10:58:10 -07:00
ROCm CI Service Account 998c7a62a0 SWDEV-339657 - Update catch codes with correct coordinates (#2735)
Change-Id: I8ca78d770a742bf6c2abede494759caa923fcc19


[ROCm/hip commit: 0cf0ead620]
2022-06-15 10:58:10 -07:00
ROCm CI Service Account 0cf0ead620 SWDEV-339657 - Update catch codes with correct coordinates (#2735)
Change-Id: I8ca78d770a742bf6c2abede494759caa923fcc19
2022-06-15 10:58:10 -07:00
Sourabh Betigeri 2c9c07aaa8 SWDEV-331301 - Fixes to return error if the childGraph topologies of instantiated childGraphNode and to-be updated childGraphNode do not match
Change-Id: I372317a4df13e5cd352f46525d820246fe4ca8f2


[ROCm/clr commit: c3db564e94]
2022-06-15 13:39:15 -04:00
Sourabh Betigeri c3db564e94 SWDEV-331301 - Fixes to return error if the childGraph topologies of instantiated childGraphNode and to-be updated childGraphNode do not match
Change-Id: I372317a4df13e5cd352f46525d820246fe4ca8f2
2022-06-15 13:39:15 -04:00
Jeremy Newton 45f1f89a97 SWDEV-335990 - Use GNUInstallDirs
This is attempt two of a5b6de5037

GNUInstallDirs is used to allow the user to customize the install paths
of HIP, rather than using hardcoded locations.

See documentation for more information:
https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html

Note that libdir must be overriden to "lib" before including
GNUInstallDirs, because by default, cmake tries to detect the libdir
path, but ROCm packaging would like to use lib by default for all
targets. This does not stop the user (or distros) from overriding.

Also note this change does no take into account the changes needed to
non-cmake files, such as perl scripts, so not all paths combinations are
necessarily functional.

Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com>
Change-Id: I521c44dc34404b136141682c2777257b23ffa6e8


[ROCm/clr commit: 112b6370a5]
2022-06-15 13:14:47 -04:00
Jeremy Newton 112b6370a5 SWDEV-335990 - Use GNUInstallDirs
This is attempt two of bf4df229c9

GNUInstallDirs is used to allow the user to customize the install paths
of HIP, rather than using hardcoded locations.

See documentation for more information:
https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html

Note that libdir must be overriden to "lib" before including
GNUInstallDirs, because by default, cmake tries to detect the libdir
path, but ROCm packaging would like to use lib by default for all
targets. This does not stop the user (or distros) from overriding.

Also note this change does no take into account the changes needed to
non-cmake files, such as perl scripts, so not all paths combinations are
necessarily functional.

Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com>
Change-Id: I521c44dc34404b136141682c2777257b23ffa6e8
2022-06-15 13:14:47 -04:00
ROCm CI Service Account 314d6ed916 SWDEV-323441 - Pahes-II : per thread default stream (#2738)
Change-Id: I9f76df450207794b8c887b55fb16aea8044d69b4

[ROCm/hip commit: 3e7a9bb177]
2022-06-15 10:14:37 -07:00
ROCm CI Service Account 3e7a9bb177 SWDEV-323441 - Pahes-II : per thread default stream (#2738)
Change-Id: I9f76df450207794b8c887b55fb16aea8044d69b4
2022-06-15 10:14:37 -07:00
ROCm CI Service Account 246f9b4c6e SWDEV-337331 - Windows initial graph tests (#2739)
Enables most of graph tests on Windows.

Change-Id: I32bd9a327168378776f89d7a6c4a83ba33861c01


[ROCm/hip-tests commit: 0b05268be2]
2022-06-15 09:38:21 -07:00
ROCm CI Service Account 0b05268be2 SWDEV-337331 - Windows initial graph tests (#2739)
Enables most of graph tests on Windows.

Change-Id: I32bd9a327168378776f89d7a6c4a83ba33861c01
2022-06-15 09:38:21 -07:00
ROCm CI Service Account 403a40b6c9 SWDEV-337331 - Windows initial graph tests (#2739)
Enables most of graph tests on Windows.

Change-Id: I32bd9a327168378776f89d7a6c4a83ba33861c01


[ROCm/hip commit: ac1d594ef1]
2022-06-15 09:38:21 -07:00
ROCm CI Service Account ac1d594ef1 SWDEV-337331 - Windows initial graph tests (#2739)
Enables most of graph tests on Windows.

Change-Id: I32bd9a327168378776f89d7a6c4a83ba33861c01
2022-06-15 09:38:21 -07:00
haoyuan2 8126f235e2 SWDEV-338781 - fix blender crash issue on Navi1x
remove incorrect control logic which caused seg fault on Navi1x

Change-Id: Ic56e8a73c53062bd86adcf57d0b66e00e21734ec


[ROCm/clr commit: 6937fcae3a]
2022-06-15 10:54:57 -04:00
haoyuan2 6937fcae3a SWDEV-338781 - fix blender crash issue on Navi1x
remove incorrect control logic which caused seg fault on Navi1x

Change-Id: Ic56e8a73c53062bd86adcf57d0b66e00e21734ec
2022-06-15 10:54:57 -04:00
Chauncey Hui 67fea7365d SWDEV-2 - Change OpenCL version number from 3471 to 3472
[ROCm/clr commit: f897a01278]
2022-06-15 03:00:08 -04:00
Chauncey Hui f897a01278 SWDEV-2 - Change OpenCL version number from 3471 to 3472 2022-06-15 03:00:08 -04:00
ROCm CI Service Account 4fd14eda91 SWDEV-330666 - Test cases for null stream and/or priority. (#2651)
Change-Id: I9f5c99513fa1c754c2ab2e3cb9dcd5b6a3bb0176

[ROCm/hip-tests commit: eb22c8be11]
2022-06-15 11:29:21 +05:30
ROCm CI Service Account eb22c8be11 SWDEV-330666 - Test cases for null stream and/or priority. (#2651)
Change-Id: I9f5c99513fa1c754c2ab2e3cb9dcd5b6a3bb0176
2022-06-15 11:29:21 +05:30
ROCm CI Service Account 77615d54b2 SWDEV-330666 - Test cases for null stream and/or priority. (#2651)
Change-Id: I9f5c99513fa1c754c2ab2e3cb9dcd5b6a3bb0176

[ROCm/hip commit: 55e8bda5ad]
2022-06-15 11:29:21 +05:30
ROCm CI Service Account 55e8bda5ad SWDEV-330666 - Test cases for null stream and/or priority. (#2651)
Change-Id: I9f5c99513fa1c754c2ab2e3cb9dcd5b6a3bb0176
2022-06-15 11:29:21 +05:30
ROCm CI Service Account 47af0feeb0 SWDEV-339113 - update coordinate in HIP sample kernels (#2736)
Change-Id: I8ea179b4ba8f1c0ebec830a5aa5947e843f06e42

[ROCm/hip-tests commit: dea8404361]
2022-06-15 11:22:27 +05:30
ROCm CI Service Account dea8404361 SWDEV-339113 - update coordinate in HIP sample kernels (#2736)
Change-Id: I8ea179b4ba8f1c0ebec830a5aa5947e843f06e42
2022-06-15 11:22:27 +05:30
ROCm CI Service Account 67969ab1cd SWDEV-339113 - update coordinate in HIP sample kernels (#2736)
Change-Id: I8ea179b4ba8f1c0ebec830a5aa5947e843f06e42

[ROCm/hip commit: a94de8f202]
2022-06-15 11:22:27 +05:30
ROCm CI Service Account a94de8f202 SWDEV-339113 - update coordinate in HIP sample kernels (#2736)
Change-Id: I8ea179b4ba8f1c0ebec830a5aa5947e843f06e42
2022-06-15 11:22:27 +05:30
Saleel Kudchadker b3ad41f6e4 SWDEV-335780 - Indicate if handler is queued
Maintain status of handler callback. For event records we no longer
submit callbacks to reduce the load on the async handler thread. However
without a callback we leak command memory/decrement refcounts. Indicate
status of the handler which we can use to queue a callback when
finish is called.

Change-Id: I89fd02f3d047a0e8162664ee17581a14795f1928


[ROCm/clr commit: 5df34a2f7a]
2022-06-14 20:55:06 -04:00
Saleel Kudchadker 5df34a2f7a SWDEV-335780 - Indicate if handler is queued
Maintain status of handler callback. For event records we no longer
submit callbacks to reduce the load on the async handler thread. However
without a callback we leak command memory/decrement refcounts. Indicate
status of the handler which we can use to queue a callback when
finish is called.

Change-Id: I89fd02f3d047a0e8162664ee17581a14795f1928
2022-06-14 20:55:06 -04:00
ROCm CI Service Account df0890d87a SWDEV-329687 - add instructions on building hip tests (#2737)
Change-Id: I0f3567ee5f3170c5d50d39caa3ce3f40a9d152f7


[ROCm/hip commit: 14a136c3e2]
2022-06-14 17:49:09 -07:00
ROCm CI Service Account 14a136c3e2 SWDEV-329687 - add instructions on building hip tests (#2737)
Change-Id: I0f3567ee5f3170c5d50d39caa3ce3f40a9d152f7
2022-06-14 17:49:09 -07:00
Saleel Kudchadker d0e5a9583a SWDEV-335780 - Revert commit
This reverts commit a206abcaa1.

Change-Id: I589d495b448a5ecc7def9dbca3f70b033a962f45


[ROCm/clr commit: 1cea2c0412]
2022-06-14 19:08:22 -04:00