From 9f1fcb23e9dc9fe0079d88af98f97aeda7f56a65 Mon Sep 17 00:00:00 2001 From: Alex Xie Date: Mon, 2 May 2022 20:22:36 -0400 Subject: [PATCH] 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: 0d29a523d331700da052150d3de95a995da1869a] --- .../clr/opencl/tests/ocltst/module/runtime/OCLCreateImage.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/projects/clr/opencl/tests/ocltst/module/runtime/OCLCreateImage.cpp b/projects/clr/opencl/tests/ocltst/module/runtime/OCLCreateImage.cpp index 293ae257b6..5f778d09df 100644 --- a/projects/clr/opencl/tests/ocltst/module/runtime/OCLCreateImage.cpp +++ b/projects/clr/opencl/tests/ocltst/module/runtime/OCLCreateImage.cpp @@ -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; }