Commit Graph
64512 Commits
Author SHA1 Message Date
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
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
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
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
Maneesh Gupta 5b2f63bcc2 Win: failing sub-tests need to be disabled explicitly
[ROCm/hip-tests commit: 9e29f41a1b]
2022-08-04 13:23:39 +05:30
Maneesh Gupta 9e29f41a1b Win: failing sub-tests need to be disabled explicitly 2022-08-04 13:23:39 +05:30
Maneesh Gupta 18e8753b65 Win: failing sub-tests need to be disabled explicitly
[ROCm/hip commit: cfaa115959]
2022-08-04 13:23:39 +05:30
Maneesh Gupta cfaa115959 Win: failing sub-tests need to be disabled explicitly 2022-08-04 13:23:39 +05:30
Chauncey Hui 527b25986a SWDEV-2 - Change OpenCL version number from 3489 to 3490
[ROCm/clr commit: c905dfd37e]
2022-08-04 03:00:05 -04:00
Chauncey Hui c905dfd37e SWDEV-2 - Change OpenCL version number from 3489 to 3490 2022-08-04 03:00:05 -04:00
Maneesh Gupta 273981ab35 Win: Disable failing hipFree tests
[ROCm/hip-tests commit: 91bd07c76a]
2022-08-04 12:24:17 +05:30
Maneesh Gupta 91bd07c76a Win: Disable failing hipFree tests 2022-08-04 12:24:17 +05:30
Maneesh Gupta 2b6bb98eec Win: Disable failing hipFree tests
[ROCm/hip commit: 234eb0ccb9]
2022-08-04 12:24:17 +05:30
Maneesh Gupta 234eb0ccb9 Win: Disable failing hipFree tests 2022-08-04 12:24:17 +05:30
Anton Mitkov 75bd4a8bcf EXSWCPHIPT-118 - Added testing for hipMemset Synchronous behavoiour. (#2750)
[ROCm/hip-tests commit: 871c75e8f0]
2022-08-04 10:35:21 +05:30
Anton Mitkov 871c75e8f0 EXSWCPHIPT-118 - Added testing for hipMemset Synchronous behavoiour. (#2750) 2022-08-04 10:35:21 +05:30
Anton Mitkov 401ffa5442 EXSWCPHIPT-118 - Added testing for hipMemset Synchronous behavoiour. (#2750)
[ROCm/hip commit: 0414111433]
2022-08-04 10:35:21 +05:30
Anton Mitkov 0414111433 EXSWCPHIPT-118 - Added testing for hipMemset Synchronous behavoiour. (#2750) 2022-08-04 10:35:21 +05:30