mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 07:14:10 +08:00
Moved code from: - shared/test/common/mocks/mock_execution_environment.h - shared/test/common/fixtures/mock_aub_center_fixture.h Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
31 lines
741 B
C++
31 lines
741 B
C++
/*
|
|
* Copyright (C) 2019-2022 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "shared/source/helpers/options.h"
|
|
|
|
namespace NEO {
|
|
struct RootDeviceEnvironment;
|
|
struct MockAubCenterFixture {
|
|
|
|
MockAubCenterFixture() = default;
|
|
MockAubCenterFixture(CommandStreamReceiverType commandStreamReceiverType);
|
|
|
|
void setUp() {
|
|
}
|
|
void tearDown() {
|
|
}
|
|
|
|
static void setMockAubCenter(RootDeviceEnvironment &rootDeviceEnvironment);
|
|
static void setMockAubCenter(RootDeviceEnvironment &rootDeviceEnvironment, CommandStreamReceiverType commandStreamReceiverType);
|
|
|
|
protected:
|
|
CommandStreamReceiverType commandStreamReceiverType = CommandStreamReceiverType::CSR_AUB;
|
|
};
|
|
} // namespace NEO
|