mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Use all devices when building program
remove Program::internalOptions internal options are calculated separately in compile, link and build methods Related-To: NEO-5001 Change-Id: I85ea2d64c72edb9b0e3f23244b59b9af20e2d357 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
045632f355
commit
75d1ebb811
@@ -22,8 +22,7 @@ class PatchedKernelTest : public ::testing::Test {
|
||||
context.reset(new MockContext(device.get()));
|
||||
program.reset(Program::createBuiltInFromSource("FillBufferBytes", context.get(), context->getDevices(), &retVal));
|
||||
EXPECT_EQ(CL_SUCCESS, retVal);
|
||||
cl_device_id clDevice = device.get();
|
||||
program->build(1, &clDevice, nullptr, false);
|
||||
program->build(program->getDevices(), nullptr, false);
|
||||
kernel.reset(Kernel::create(program.get(), *program->getKernelInfo("FillBufferBytes"), &retVal));
|
||||
EXPECT_EQ(CL_SUCCESS, retVal);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user