mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Add classes for sub devices concept
Related-To: NEO-3007 Change-Id: I27dd4b91e286ba1b75f4b50bec96d98df37983e1 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
4503e04083
commit
c7c6068d1f
@ -28,7 +28,7 @@ MockDevice::MockDevice()
|
||||
}
|
||||
|
||||
MockDevice::MockDevice(ExecutionEnvironment *executionEnvironment, uint32_t deviceIndex)
|
||||
: Device(executionEnvironment, deviceIndex) {
|
||||
: RootDevice(executionEnvironment, deviceIndex) {
|
||||
auto &hwInfo = getHardwareInfo();
|
||||
bool enableLocalMemory = HwHelper::get(hwInfo.platform.eRenderCoreFamily).getEnableLocalMemory(hwInfo);
|
||||
bool aubUsage = (testMode == TestMode::AubTests) || (testMode == TestMode::AubTestsWithTbx);
|
||||
|
@ -6,7 +6,7 @@
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "runtime/device/device.h"
|
||||
#include "runtime/device/root_device.h"
|
||||
#include "runtime/helpers/hw_helper.h"
|
||||
#include "unit_tests/fixtures/mock_aub_center_fixture.h"
|
||||
#include "unit_tests/libult/ult_command_stream_receiver.h"
|
||||
@ -18,7 +18,7 @@ class FailMemoryManager;
|
||||
|
||||
extern CommandStreamReceiver *createCommandStream(ExecutionEnvironment &executionEnvironment);
|
||||
|
||||
class MockDevice : public Device {
|
||||
class MockDevice : public RootDevice {
|
||||
public:
|
||||
using Device::createDeviceInternals;
|
||||
using Device::createEngine;
|
||||
|
Reference in New Issue
Block a user