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


[ROCm/clr commit: 0d29a523d3]
This commit is contained in:
Alex Xie
2022-05-02 20:22:36 -04:00
parent 9e85fabc48
commit 9f1fcb23e9
@@ -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;
}