mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 00:58:39 +08:00
Pass ClDeviceVector to Program's ctor
Related-To: NEO-5001 Change-Id: Ie0e4395fd3ed9a5df81c7075ef039092a0687b9c Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
10165ec9eb
commit
f7dcafc295
@@ -29,7 +29,7 @@ class ProcessElfBinaryTests : public ::testing::Test {
|
||||
public:
|
||||
void SetUp() override {
|
||||
device = std::make_unique<MockClDevice>(MockDevice::createWithNewExecutionEnvironment<MockDevice>(nullptr, rootDeviceIndex));
|
||||
program = std::make_unique<MockProgram>(*device->getExecutionEnvironment(), nullptr, false, &device->getDevice());
|
||||
program = std::make_unique<MockProgram>(nullptr, false, toClDeviceVector(*device));
|
||||
}
|
||||
|
||||
std::unique_ptr<MockProgram> program;
|
||||
@@ -116,7 +116,7 @@ class ProcessElfBinaryTestsWithBinaryType : public ::testing::TestWithParam<unsi
|
||||
public:
|
||||
void SetUp() override {
|
||||
device = std::make_unique<MockClDevice>(MockDevice::createWithNewExecutionEnvironment<MockDevice>(nullptr, rootDeviceIndex));
|
||||
program = std::make_unique<MockProgram>(*device->getExecutionEnvironment(), nullptr, false, &device->getDevice());
|
||||
program = std::make_unique<MockProgram>(nullptr, false, toClDeviceVector(*device));
|
||||
}
|
||||
|
||||
std::unique_ptr<MockProgram> program;
|
||||
|
||||
Reference in New Issue
Block a user