76333 Коммитов
Автор SHA1 Сообщение Дата
Ranjith Ramakrishnan 52a3463147 File reorganization with backward compatibility
SWDEV-291455 -  Binary , header files and libraries installed in bin,include and lib folder under /opt/rocm-ver
Prebuilt ras library with updated search path
cmake config files in lib/cmake/rdc
grpc,sp3,hsaco and private libraries installed in lib/rdc
config  installed in share/rdc
authentication and python_binding installed in libexec/rdc
Backward compatibility added for header files and libraries

Depends-On: I3f3d192935923f71737b3fe55ded536654a73dd7
Change-Id: Ia1a6cadc59034b155631a1ee5fdbe692d2a8a71b
2022-08-04 23:42:42 -07:00
Ranjith Ramakrishnan 3df8b88ca6 File reorganization with backward compatibility
SWDEV-291455 -  Binary , header files and libraries installed in bin,include and lib folder under /opt/rocm-ver
Prebuilt ras library with updated search path
cmake config files in lib/cmake/rdc
grpc,sp3,hsaco and private libraries installed in lib/rdc
config  installed in share/rdc
authentication and python_binding installed in libexec/rdc
Backward compatibility added for header files and libraries

Depends-On: I3f3d192935923f71737b3fe55ded536654a73dd7
Change-Id: Ia1a6cadc59034b155631a1ee5fdbe692d2a8a71b


[ROCm/rdc commit: 52a3463147]
2022-08-04 23:42:42 -07:00
Jaydeep Patel 1752b3049e SWDEV-346382 - Don't fall back to sync for hipMemcpyAsync from host to device.
Change-Id: I5aab9041f87c549a03c86e95a39bfa437126a99b


[ROCm/clr commit: 366050b14f]
2022-08-05 02:32:55 -04:00
Jaydeep Patel 366050b14f SWDEV-346382 - Don't fall back to sync for hipMemcpyAsync from host to device.
Change-Id: I5aab9041f87c549a03c86e95a39bfa437126a99b
2022-08-05 02:32:55 -04:00
Fábio 3013f012ea EXSWCPHIPT-105: Add testing for hipEventDestroy (#2727)
[ROCm/hip-tests commit: 2a1b2b993d]
2022-08-05 11:00:06 +05:30
Fábio 2a1b2b993d EXSWCPHIPT-105: Add testing for hipEventDestroy (#2727) 2022-08-05 11:00:06 +05:30
Fábio 0f59968eff EXSWCPHIPT-105: Add testing for hipEventDestroy (#2727)
[ROCm/hip commit: 159d41531d]
2022-08-05 11:00:06 +05:30
Fábio 159d41531d EXSWCPHIPT-105: Add testing for hipEventDestroy (#2727) 2022-08-05 11:00:06 +05:30
Finlay 1a48ce29ba EXSWCPHIPT-140 - Added hipStreamCreateWithFlags tests (#2549)
[ROCm/hip-tests commit: 8c492acb9d]
2022-08-05 10:59:44 +05:30
Finlay 8c492acb9d EXSWCPHIPT-140 - Added hipStreamCreateWithFlags tests (#2549) 2022-08-05 10:59:44 +05:30
Finlay 65c3afee1d EXSWCPHIPT-140 - Added hipStreamCreateWithFlags tests (#2549)
[ROCm/hip commit: 46717c6ffe]
2022-08-05 10:59:44 +05:30
Finlay 46717c6ffe EXSWCPHIPT-140 - Added hipStreamCreateWithFlags tests (#2549) 2022-08-05 10:59:44 +05:30
Finlay 4903996409 EXSWCPHIPT-139 - added tests for hipStreamDestroy (#2548)
[ROCm/hip-tests commit: 17050703b1]
2022-08-05 10:59:19 +05:30
Finlay 17050703b1 EXSWCPHIPT-139 - added tests for hipStreamDestroy (#2548) 2022-08-05 10:59:19 +05:30
Finlay 5d64825e68 EXSWCPHIPT-139 - added tests for hipStreamDestroy (#2548)
[ROCm/hip commit: ec3700fe20]
2022-08-05 10:59:19 +05:30
Finlay ec3700fe20 EXSWCPHIPT-139 - added tests for hipStreamDestroy (#2548) 2022-08-05 10:59:19 +05:30
ROCm CI Service Account 87ff3a21a9 SWDEV-1 - Fixed Malloc test failures (#2847)
Change-Id: I27042e743dda78f34e5f6b0d548e7d507b4f0ba3

[ROCm/hip-tests commit: af20ae3a33]
2022-08-05 08:56:44 +05:30
ROCm CI Service Account af20ae3a33 SWDEV-1 - Fixed Malloc test failures (#2847)
Change-Id: I27042e743dda78f34e5f6b0d548e7d507b4f0ba3
2022-08-05 08:56:44 +05:30
ROCm CI Service Account d4661e95f2 SWDEV-1 - Fixed Malloc test failures (#2847)
Change-Id: I27042e743dda78f34e5f6b0d548e7d507b4f0ba3

[ROCm/hip commit: ce1d49b6e0]
2022-08-05 08:56:44 +05:30
ROCm CI Service Account ce1d49b6e0 SWDEV-1 - Fixed Malloc test failures (#2847)
Change-Id: I27042e743dda78f34e5f6b0d548e7d507b4f0ba3
2022-08-05 08:56:44 +05:30
gilbertlee-amd e3b832f4ce Disable clique AllReduce UnitTest (#595)
[ROCm/rccl commit: dae11c2aca]
2022-08-04 18:30:00 -06:00
gilbertlee-amd dae11c2aca Disable clique AllReduce UnitTest (#595) 2022-08-04 18:30:00 -06:00
Jenkins f5ba19ac17 SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: I50f20f006a0e886b45100bde54c8f938775cd155


[ROCm/hip commit: 314bb5d861]
2022-08-04 20:09:22 -04:00
Jenkins 314bb5d861 SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: I50f20f006a0e886b45100bde54c8f938775cd155
2022-08-04 20:09:22 -04:00
gilbertlee-amd b350916a6e Fixing CMake to avoid unnecessary git_version relinking (#594)
[ROCm/rccl commit: 9ed9cd0e31]
2022-08-04 18:03:59 -06:00
gilbertlee-amd 9ed9cd0e31 Fixing CMake to avoid unnecessary git_version relinking (#594) 2022-08-04 18:03:59 -06:00
Ranjith Ramakrishnan d1b2b89d43 SWDEV-349826 - Use get_filename_component rather than using file command to get realpath
The cmake file command with REAL_PATH option is supported from cmake version 3.19 onwards
Issue reported in cmake version 3.17. get_filename_component is supported since 3.4 onwards
The command gives REALPATH with symlinks resolved - /opt/rocm-ver/lib/cmake/hip/hip-config.cmake
So need to move four level up to get ROCM PATH
Verfied by printing the variables
Change made so that default initializaton of ROCM PATH is executed if there is no ROCM_PATH set in ENV

Change-Id: Ibfff584eeb154bd73a568a842f28143d5ed72458


[ROCm/clr commit: d60787bdb2]
2022-08-04 13:39:09 -07:00
Ranjith Ramakrishnan d60787bdb2 SWDEV-349826 - Use get_filename_component rather than using file command to get realpath
The cmake file command with REAL_PATH option is supported from cmake version 3.19 onwards
Issue reported in cmake version 3.17. get_filename_component is supported since 3.4 onwards
The command gives REALPATH with symlinks resolved - /opt/rocm-ver/lib/cmake/hip/hip-config.cmake
So need to move four level up to get ROCM PATH
Verfied by printing the variables
Change made so that default initializaton of ROCM PATH is executed if there is no ROCM_PATH set in ENV

Change-Id: Ibfff584eeb154bd73a568a842f28143d5ed72458
2022-08-04 13:39:09 -07:00
sdashmiz b25033b7be SWDEV-347595 - return proper error
- if flags are not supported

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


[ROCm/clr commit: 58c5e17c5f]
2022-08-04 15:57:15 -04:00
sdashmiz 58c5e17c5f SWDEV-347595 - return proper error
- if flags are not supported

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Id7570d2c5f3d1169da33561f05c278dcd1834db6
2022-08-04 15:57:15 -04:00
arvindcheru a44be6655d HIP Path default updated to ROCM_PATH (reorg path) (#592)
Updated default path for hip to ROCM_PATH (/opt/rocm instead of /opt/rocm/hip) as per new/current structure.

[ROCm/rccl commit: 2cb2f9493a]
2022-08-04 13:38:41 -04:00
arvindcheru 2cb2f9493a HIP Path default updated to ROCM_PATH (reorg path) (#592)
Updated default path for hip to ROCM_PATH (/opt/rocm instead of /opt/rocm/hip) as per new/current structure.
2022-08-04 13:38:41 -04:00
David Yat Sin 117495fe88 Fix image LUT for gfx11
For gfx11 the image type table has some different values compared to
previous asic families (e.g TYPE_SRGB). Creating a new LUT class to
use these new values.

Change-Id: Ifdfc6cd29bfd5f4ec2643c848fcb9986eb874f9e
2022-08-04 11:23:28 -04:00
David Yat Sin 51a3a22e4b Fix image LUT for gfx11
For gfx11 the image type table has some different values compared to
previous asic families (e.g TYPE_SRGB). Creating a new LUT class to
use these new values.

Change-Id: Ifdfc6cd29bfd5f4ec2643c848fcb9986eb874f9e


[ROCm/ROCR-Runtime commit: 117495fe88]
2022-08-04 11:23:28 -04:00
Yifan Zhang daa01b8d57 Add gfx1103 support
This patch adds gfx1103 support

Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Change-Id: I7f1d580059fcd501bce2c8fea894637960c29bc1
2022-08-04 11:23:28 -04:00
Yifan Zhang aed560a306 Add gfx1103 support
This patch adds gfx1103 support

Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Change-Id: I7f1d580059fcd501bce2c8fea894637960c29bc1


[ROCm/ROCR-Runtime commit: daa01b8d57]
2022-08-04 11:23:28 -04:00
David Yat Sin 574bea4a4c Use FAMILY_GFX1103 for gfx1103
Also adding elf entry

Change-Id: Id47ec379f2880961022b4607eb7f106b7e9d7048
2022-08-04 11:23:28 -04:00
David Yat Sin 8f52aafdc6 Use FAMILY_GFX1103 for gfx1103
Also adding elf entry

Change-Id: Id47ec379f2880961022b4607eb7f106b7e9d7048


[ROCm/ROCR-Runtime commit: 574bea4a4c]
2022-08-04 11:23:28 -04:00
David Yat Sin f971834d7a Update entries for gfx11
Update image table enums and format tables for gfx11.
Remove some entries that are not needed.

Change-Id: I060c1e285925a6d428ef1c5498f5dd89f5d79d97
2022-08-04 11:23:28 -04:00
David Yat Sin 56b9b37089 Update entries for gfx11
Update image table enums and format tables for gfx11.
Remove some entries that are not needed.

Change-Id: I060c1e285925a6d428ef1c5498f5dd89f5d79d97


[ROCm/ROCR-Runtime commit: f971834d7a]
2022-08-04 11:23:28 -04:00
David Yat Sin 319e71e79f Use FAMILY_GFX1100 for GFX11 devices
Change-Id: Ib182b647a91987040d655dbc05cbe5f867d4f61a
2022-08-04 11:23:28 -04:00
David Yat Sin b4e751e959 Use FAMILY_GFX1100 for GFX11 devices
Change-Id: Ib182b647a91987040d655dbc05cbe5f867d4f61a


[ROCm/ROCR-Runtime commit: 319e71e79f]
2022-08-04 11:23:28 -04:00
David Yat Sin a742b7e830 Update addrLib to support gfx11
This library was taken from public MESA library:
https://gitlab.freedesktop.org/mesa/mesa/-/tree/main/src/amd/addrlib

with top commit:
2866ae32da0348caf71ad2d11c353321df626ff4

Removing macros.h as it is no longer used by addrlib

Change-Id: I0fdabfe48b74c259b4d29d81beae89604bbc141a
2022-08-04 11:23:28 -04:00
David Yat Sin a6d4630696 Update addrLib to support gfx11
This library was taken from public MESA library:
https://gitlab.freedesktop.org/mesa/mesa/-/tree/main/src/amd/addrlib

with top commit:
2866ae32da0348caf71ad2d11c353321df626ff4

Removing macros.h as it is no longer used by addrlib

Change-Id: I0fdabfe48b74c259b4d29d81beae89604bbc141a


[ROCm/ROCR-Runtime commit: a742b7e830]
2022-08-04 11:23:28 -04:00
David Yat Sin c2a60a4d5d Fix scratch memory alignment on GFX11
GFX11 requires scratch memory alignment of 256 Bytes instead of 1024.

Change-Id: I103de1c12f3a4877d7d36f13254301166c66e11f
2022-08-04 11:23:28 -04:00
David Yat Sin 3da8f705d9 Fix scratch memory alignment on GFX11
GFX11 requires scratch memory alignment of 256 Bytes instead of 1024.

Change-Id: I103de1c12f3a4877d7d36f13254301166c66e11f


[ROCm/ROCR-Runtime commit: c2a60a4d5d]
2022-08-04 11:23:28 -04:00
David Yat Sin 90322899fe Update scratch register definitions for GFX11
Update scratch register definitions for GFX11 asics.

Change-Id: I6195e04b0a099fe84d1015c2f34ca3756a8175ef
2022-08-04 11:23:28 -04:00
David Yat Sin 4ee01e8982 Update scratch register definitions for GFX11
Update scratch register definitions for GFX11 asics.

Change-Id: I6195e04b0a099fe84d1015c2f34ca3756a8175ef


[ROCm/ROCR-Runtime commit: 90322899fe]
2022-08-04 11:23:28 -04:00
Graham Sider 061aa04147 Make queue memory allocation non-paged
Non-paged allocation for queue memory necessary for binding wptr to
GART. Required to support usermode queue oversubscription with MES for
GFX11.

Adds AllocateNonPaged entry to MemoryRegion::AllocateEnum for clarity;
aliases AllocateIPC.

Signed-off-by: Graham Sider <Graham.Sider@amd.com>
Change-Id: I1a97a1820da26cf2433d9c237b2e6d2b0b8628b4
2022-08-04 11:21:00 -04:00
Graham Sider ff52cbb201 Make queue memory allocation non-paged
Non-paged allocation for queue memory necessary for binding wptr to
GART. Required to support usermode queue oversubscription with MES for
GFX11.

Adds AllocateNonPaged entry to MemoryRegion::AllocateEnum for clarity;
aliases AllocateIPC.

Signed-off-by: Graham Sider <Graham.Sider@amd.com>
Change-Id: I1a97a1820da26cf2433d9c237b2e6d2b0b8628b4


[ROCm/ROCR-Runtime commit: 061aa04147]
2022-08-04 11:21:00 -04:00