mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-22 11:21:47 +08:00
Revert "Builtins increase context refcount."
This reverts commit 39d55e5257.
Change-Id: Ib5b38e5a508c5e56e61c7f0ac0b5b8a965d6170d
This commit is contained in:
@@ -28,7 +28,7 @@ namespace OCLRT {
|
||||
|
||||
template OCLRT::MockProgram *Program::create<MockProgram>(cl_context, cl_uint, const char **, const size_t *, cl_int &);
|
||||
template OCLRT::MockProgram *Program::create<MockProgram>(cl_context, cl_uint, const cl_device_id *, const size_t *, const unsigned char **, cl_int *, cl_int &);
|
||||
template OCLRT::MockProgram *Program::create<MockProgram>(const char *, Context *, Device &, cl_int *);
|
||||
template OCLRT::MockProgram *Program::create<MockProgram>(const char *, Context *, Device &, bool, cl_int *);
|
||||
template void ProgramFixture::CreateProgramFromBinary<Program>(cl_context, cl_device_id *, const std::string &, const std::string &);
|
||||
template void ProgramFixture::CreateProgramFromBinary<Program>(cl_context, cl_device_id *, const std::string &, cl_int &, const std::string &);
|
||||
template void ProgramFixture::CreateProgramFromBinary<MockProgram>(cl_context, cl_device_id *, const std::string &, const std::string &);
|
||||
|
||||
@@ -49,7 +49,7 @@ class ScenarioTest : public ::testing::Test,
|
||||
cl_device_id clDevice = pDevice;
|
||||
context = Context::create<MockContext>(nullptr, DeviceVector(&clDevice, 1), nullptr, nullptr, retVal);
|
||||
commandQueue = new MockCommandQueue(context, pDevice, 0);
|
||||
program = new MockProgram(context);
|
||||
program = new MockProgram(context, false);
|
||||
|
||||
kernelInternals = new MockKernelWithInternals(*pDevice, context);
|
||||
kernel = kernelInternals->mockKernel;
|
||||
|
||||
Reference in New Issue
Block a user