Files
compute-runtime/shared/test/common/tests_configuration.h
Mateusz Jablonski 4067b899cc test: don't create aub files when --null_aubstream flag is passed
Related-To: NEO-11097
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-04-17 14:47:06 +02:00

33 lines
831 B
C++

/*
* Copyright (C) 2018-2024 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include <cstdint>
namespace NEO {
struct HardwareInfo;
enum class TestMode { notSpecified,
unitTests,
aubTests,
aubTestsWithTbx,
tbxTests,
aubTestsWithoutOutputFiles
};
inline bool isAubTestMode(TestMode testMode) {
return testMode == TestMode::aubTests ||
testMode == TestMode::aubTestsWithTbx ||
testMode == TestMode::aubTestsWithoutOutputFiles;
}
extern TestMode testMode;
void adjustHwInfoForTests(HardwareInfo &hwInfoForTests, uint32_t euPerSubSlice, uint32_t sliceCount, uint32_t subSlicePerSliceCount, int dieRecovery);
void adjustCsrType(TestMode testMode);
} // namespace NEO