2018-08-27 12:11:07 +02:00
|
|
|
/*
|
2024-04-09 12:43:12 +00:00
|
|
|
* Copyright (C) 2018-2024 Intel Corporation
|
2018-08-27 12:11:07 +02:00
|
|
|
*
|
2018-09-18 16:45:45 -07:00
|
|
|
* SPDX-License-Identifier: MIT
|
2018-08-27 12:11:07 +02:00
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2023-02-28 13:26:21 +00:00
|
|
|
#include <cstdint>
|
|
|
|
|
|
2019-03-26 11:59:46 +01:00
|
|
|
namespace NEO {
|
2023-02-28 13:26:21 +00:00
|
|
|
struct HardwareInfo;
|
2023-12-13 09:17:24 +00:00
|
|
|
enum class TestMode { notSpecified,
|
|
|
|
|
unitTests,
|
|
|
|
|
aubTests,
|
|
|
|
|
aubTestsWithTbx,
|
2024-04-09 12:43:12 +00:00
|
|
|
tbxTests,
|
|
|
|
|
aubTestsWithoutOutputFiles
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
inline bool isAubTestMode(TestMode testMode) {
|
|
|
|
|
return testMode == TestMode::aubTests ||
|
|
|
|
|
testMode == TestMode::aubTestsWithTbx ||
|
|
|
|
|
testMode == TestMode::aubTestsWithoutOutputFiles;
|
|
|
|
|
}
|
2018-09-18 16:45:45 -07:00
|
|
|
|
|
|
|
|
extern TestMode testMode;
|
2023-02-28 13:26:21 +00:00
|
|
|
|
|
|
|
|
void adjustHwInfoForTests(HardwareInfo &hwInfoForTests, uint32_t euPerSubSlice, uint32_t sliceCount, uint32_t subSlicePerSliceCount, int dieRecovery);
|
2024-04-17 13:08:15 +00:00
|
|
|
void adjustCsrType(TestMode testMode);
|
2019-03-26 11:59:46 +01:00
|
|
|
} // namespace NEO
|