2021-10-26 23:25:20 +08:00
|
|
|
/*
|
2022-03-04 17:42:37 +08:00
|
|
|
* Copyright (C) 2021-2022 Intel Corporation
|
2021-10-26 23:25:20 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2022-06-27 22:58:29 +08:00
|
|
|
#include "shared/source/helpers/cache_policy.h"
|
2021-10-26 23:25:20 +08:00
|
|
|
#include "shared/source/helpers/compiler_hw_info_config.h"
|
|
|
|
|
|
|
|
namespace NEO {
|
|
|
|
|
|
|
|
template <PRODUCT_FAMILY gfxProduct>
|
|
|
|
bool CompilerHwInfoConfigHw<gfxProduct>::isForceEmuInt32DivRemSPRequired() const {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
template <PRODUCT_FAMILY gfxProduct>
|
|
|
|
bool CompilerHwInfoConfigHw<gfxProduct>::isStatelessToStatefulBufferOffsetSupported() const {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2022-06-10 19:52:43 +08:00
|
|
|
template <PRODUCT_FAMILY gfxProduct>
|
|
|
|
void CompilerHwInfoConfigHw<gfxProduct>::adjustHwInfoForIgc(HardwareInfo &hwInfo) const {
|
|
|
|
}
|
|
|
|
|
2022-06-20 20:39:11 +08:00
|
|
|
template <PRODUCT_FAMILY gfxProduct>
|
|
|
|
const char *CompilerHwInfoConfigHw<gfxProduct>::getCachingPolicyOptions() const {
|
2022-06-27 22:58:29 +08:00
|
|
|
return L1CachePolicyHelper<gfxProduct>::getCachingPolicyOptions();
|
2022-06-20 20:39:11 +08:00
|
|
|
};
|
|
|
|
|
2021-10-26 23:25:20 +08:00
|
|
|
} // namespace NEO
|