Support mixed program scope ptrs

Change-Id: Ib2ff6ba2fcd9af66f984f9fcddafa16abfff1bfd
This commit is contained in:
Jaroslaw Chodor
2020-01-04 18:56:34 +01:00
parent 1600911dc4
commit 5cf6d6348e
8 changed files with 110 additions and 34 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2017-2019 Intel Corporation
* Copyright (C) 2017-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -1453,23 +1453,6 @@ class ProgramPatchTokenFromBinaryTest : public ProgramSimpleFixture {
};
typedef Test<ProgramPatchTokenFromBinaryTest> ProgramPatchTokenTests;
TEST_F(ProgramPatchTokenTests, DISABLED_ConstantMemorySurface) {
cl_device_id device = pDevice;
CreateProgramWithSource(pContext, &device, "CopyBuffer_simd8.cl");
ASSERT_NE(nullptr, pProgram);
retVal = pProgram->build(
1,
&device,
nullptr,
nullptr,
nullptr,
false);
EXPECT_EQ(CL_SUCCESS, retVal);
}
TEST(ProgramFromBinaryTests, givenBinaryWithInvalidICBEThenErrorIsReturned) {
cl_int retVal = CL_INVALID_BINARY;