1 /* 2 * Copyright (C) 2021 Intel Corporation 3 * 4 * SPDX-License-Identifier: MIT 5 * 6 */ 7 8 #include "shared/source/helpers/state_base_address_xehp_and_later.inl" 9 10 namespace NEO { 11 12 template <> appendExtraCacheSettings(STATE_BASE_ADDRESS * stateBaseAddress,GmmHelper * gmmHelper)13void StateBaseAddressHelper<XE_HPG_COREFamily>::appendExtraCacheSettings(STATE_BASE_ADDRESS *stateBaseAddress, GmmHelper *gmmHelper) { 14 stateBaseAddress->setL1CachePolicyL1CacheControl(STATE_BASE_ADDRESS::L1_CACHE_POLICY_WBP); 15 16 if (DebugManager.flags.ForceStatelessL1CachingPolicy.get() != -1) { 17 stateBaseAddress->setL1CachePolicyL1CacheControl(static_cast<typename STATE_BASE_ADDRESS::L1_CACHE_POLICY>(DebugManager.flags.ForceStatelessL1CachingPolicy.get())); 18 } 19 } 20 21 template struct StateBaseAddressHelper<XE_HPG_COREFamily>; 22 } // namespace NEO 23