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
2022-05-09 21:16:20 +05:30
коммит произвёл GitHub
родитель ab3dc9ccac
Коммит 643f8dbd36
25 изменённых файлов: 132 добавлений и 68 удалений
+2 -7
Просмотреть файл
@@ -171,14 +171,9 @@ bool runTest(int argc, char** argv) {
}
int main(int argc, char** argv) {
checkImageSupport();
bool testResult = true;
int imageSupport = 0;
hipDeviceGetAttribute(&imageSupport, hipDeviceAttributeImageSupport,
p_gpuDevice);
if (!imageSupport) {
printf("Texture is not support on the device\n");
passed();
}
#ifdef _WIN32
testResult = runTest(argc, argv);
#else