mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Remove platformDevices from ULT
Related-To: NEO-4499 Change-Id: I0949f6fd9897b970314a82db7bae6f700fbf31d3 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
43668ce55b
commit
94bd9af6e2
@ -319,7 +319,7 @@ TEST(Context, givenFtrSvmFalseWhenContextIsCreatedThenSVMAllocsManagerIsNotCreat
|
||||
}
|
||||
|
||||
TEST(Context, whenCreateContextThenSpecialQueueUsesInternalEngine) {
|
||||
auto device = std::make_unique<MockClDevice>(MockDevice::createWithNewExecutionEnvironment<MockDevice>(*platformDevices));
|
||||
auto device = std::make_unique<MockClDevice>(MockDevice::createWithNewExecutionEnvironment<MockDevice>(defaultHwInfo.get()));
|
||||
cl_device_id clDevice = device.get();
|
||||
cl_int retVal = CL_SUCCESS;
|
||||
|
||||
@ -358,7 +358,7 @@ class ContextWithAsyncDeleterTest : public ::testing::WithParamInterface<bool>,
|
||||
public:
|
||||
void SetUp() override {
|
||||
memoryManager = new MockMemoryManager();
|
||||
device = new MockClDevice{MockDevice::createWithNewExecutionEnvironment<MockDevice>(*platformDevices)};
|
||||
device = new MockClDevice{MockDevice::createWithNewExecutionEnvironment<MockDevice>(defaultHwInfo.get())};
|
||||
deleter = new MockDeferredDeleter();
|
||||
device->injectMemoryManager(memoryManager);
|
||||
memoryManager->setDeferredDeleter(deleter);
|
||||
|
Reference in New Issue
Block a user