SWDEV-333966 - [Lnx]image test fail

OCLCreateImage test passed when the image was not supported at all.
Add a warning.
For ASIC without image support, let the test pass.

Change-Id: I13c015561a51879f052c2c2d56c672ffbdbe0641
Этот коммит содержится в:
Alex Xie
2022-05-02 20:22:36 -04:00
родитель daf33f9d38
Коммит 0d29a523d3
+4
Просмотреть файл
@@ -462,6 +462,10 @@ static void CL_CALLBACK notify_callback(const char *errinfo,
void OCLCreateImage::run(void) {
if (failed_) {
printf ("\n");
printf ("**********************************************************\n");
printf ("* WARNING: Test skip. Image may not be supported in OCL. *\n");
printf ("**********************************************************\n");
return;
}