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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user