From ce1d49a3a17872deed0148d320b70ae200c27299 Mon Sep 17 00:00:00 2001 From: "Milczarek, Slawomir" Date: Tue, 23 Mar 2021 11:19:59 +0000 Subject: [PATCH] Add compiler expectation to stateless kernel with indirect access fixture Signed-off-by: Milczarek, Slawomir --- opencl/test/unit_test/fixtures/simple_arg_kernel_fixture.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/opencl/test/unit_test/fixtures/simple_arg_kernel_fixture.h b/opencl/test/unit_test/fixtures/simple_arg_kernel_fixture.h index 29f38f121b..b07345ecec 100644 --- a/opencl/test/unit_test/fixtures/simple_arg_kernel_fixture.h +++ b/opencl/test/unit_test/fixtures/simple_arg_kernel_fixture.h @@ -339,6 +339,8 @@ class StatelessKernelWithIndirectAccessFixture : public ProgramFixture { &retVal)); ASSERT_NE(nullptr, multiDeviceKernel); ASSERT_EQ(CL_SUCCESS, retVal); + + EXPECT_TRUE(multiDeviceKernel->getKernel(device->getRootDeviceIndex())->getKernelInfo().hasIndirectStatelessAccess); } void TearDown() override {