fix: enable cache env variables for level-zero

Related-To: NEO-10045
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
This commit is contained in:
Fabian Zwolinski
2024-01-29 19:28:08 +00:00
committed by Compute-Runtime-Automation
parent 31bec55aca
commit 743904d2df
11 changed files with 871 additions and 86 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2023 Intel Corporation
* Copyright (C) 2020-2024 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -15,3 +15,6 @@ DECLARE_DEBUG_VARIABLE(bool, NEO_CAL_ENABLED, false, "Set by the Compute Aggrega
DECLARE_DEBUG_VARIABLE(std::string, ZE_AFFINITY_MASK, std::string("default"), "Refer to the Level Zero Specification for a description")
DECLARE_DEBUG_VARIABLE(std::string, ZEX_NUMBER_OF_CCS, std::string("default"), "Define number of CCS engines per root device, e.g. setting Root Device Index 0 to 4 CCS, and Root Device Index 1 To 1 CCS: ZEX_NUMBER_OF_CCS=0:4,1:1")
DECLARE_DEBUG_VARIABLE(bool, ZE_ENABLE_PCI_ID_DEVICE_ORDER, false, "Refer to the Level Zero Specification for a description")
DECLARE_DEBUG_VARIABLE(int64_t, NEO_CACHE_PERSISTENT, -1, "Enable on-disk binary cache")
DECLARE_DEBUG_VARIABLE(int64_t, NEO_CACHE_MAX_SIZE, -1, "Maximum size of compiler cache in bytes")
DECLARE_DEBUG_VARIABLE(std::string, NEO_CACHE_DIR, std::string("default"), "Path to persistent cache directory")