SWDEV-305992 - Improve texture tests (#2646)

Enable more texture supports for hip-rocclr.
Skip texture tests on device that doesn't support images.
SWDEV-322257 - Fix issues of image tests skipped on
NVidia devices.

Change-Id: Ia99d06b1e97fc945f1b740e47710f4dcd70f38ca
Этот коммит содержится в:
ROCm CI Service Account authored and GitHub committed 2022-05-09 08:46:20 -07:00
1 родитель 824d79cd50
Коммит 70ccfa39ad
8 files changed
+47

No files matched your search

+4
Просмотреть файл
@@ -23,6 +23,8 @@ THE SOFTWARE.
* Validates Array Resource texture object with negative/functional tests.
*/
TEST_CASE("Unit_hipCreateTextureObject_ArrayResource") {
checkImageSupport();
hipError_t ret;
hipResourceDesc resDesc;
hipTextureDesc texDesc;
@@ -47,6 +49,8 @@ TEST_CASE("Unit_hipCreateTextureObject_ArrayResource") {
* with negative/functional tests.
*/
TEST_CASE("Unit_hipCreateTextureObject_MmArrayResource") {
checkImageSupport();
hipError_t ret;
hipResourceDesc resDesc;
hipTextureDesc texDesc;