2021-12-23 21:48:36 +08:00
|
|
|
/*
|
2022-05-18 03:04:23 +08:00
|
|
|
* Copyright (C) 2021-2022 Intel Corporation
|
2021-12-23 21:48:36 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2022-05-18 03:04:23 +08:00
|
|
|
#pragma once
|
|
|
|
|
2021-12-23 21:48:36 +08:00
|
|
|
#include "shared/source/execution_environment/execution_environment.h"
|
|
|
|
#include "shared/test/common/helpers/execution_environment_helper.h"
|
|
|
|
|
|
|
|
using namespace NEO;
|
|
|
|
|
|
|
|
struct GmmCallbacksFixture {
|
|
|
|
void SetUp() {
|
|
|
|
executionEnvironment = getExecutionEnvironmentImpl(hwInfo, 1);
|
|
|
|
executionEnvironment->incRefInternal();
|
|
|
|
}
|
|
|
|
|
|
|
|
void TearDown() {
|
|
|
|
executionEnvironment->decRefInternal();
|
|
|
|
}
|
|
|
|
|
|
|
|
ExecutionEnvironment *executionEnvironment = nullptr;
|
|
|
|
HardwareInfo *hwInfo = nullptr;
|
|
|
|
};
|