2022-06-27 22:58:29 +08:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2022 Intel Corporation
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "shared/source/helpers/cache_policy.h"
|
2022-08-12 20:23:39 +08:00
|
|
|
#include "shared/source/helpers/cache_policy_base.inl"
|
2022-06-27 22:58:29 +08:00
|
|
|
|
|
|
|
namespace NEO {
|
|
|
|
|
|
|
|
template <PRODUCT_FAMILY gfxProduct>
|
2022-08-23 19:48:18 +08:00
|
|
|
const char *L1CachePolicyHelper<gfxProduct>::getCachingPolicyOptions(bool isDebuggerActive) {
|
2022-06-27 22:58:29 +08:00
|
|
|
return nullptr;
|
|
|
|
}
|
|
|
|
|
2022-08-12 20:23:39 +08:00
|
|
|
template <PRODUCT_FAMILY gfxProduct>
|
2022-08-23 19:48:18 +08:00
|
|
|
uint32_t L1CachePolicyHelper<gfxProduct>::getDefaultL1CachePolicy(bool isDebuggerActive) {
|
2022-08-12 20:23:39 +08:00
|
|
|
return 0u;
|
|
|
|
}
|
|
|
|
|
|
|
|
template <PRODUCT_FAMILY gfxProduct>
|
|
|
|
uint32_t L1CachePolicyHelper<gfxProduct>::getUncachedL1CachePolicy() {
|
|
|
|
return 1u;
|
|
|
|
}
|
|
|
|
|
2022-06-27 22:58:29 +08:00
|
|
|
} // namespace NEO
|