2020-06-15 17:16:46 +08:00
|
|
|
/*
|
2021-01-18 16:27:50 +08:00
|
|
|
* Copyright (C) 2020-2021 Intel Corporation
|
2020-06-15 17:16:46 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2020-07-08 21:55:07 +08:00
|
|
|
/*This file contains debug variables which are read by release builds of the driver. (All other variables are read in debug builds only)
|
|
|
|
This is not a stable interface. Variables can be added, removed, modified at any time.
|
|
|
|
Variables are provided for experimentation. Do not use in production deployments. No support provided.*/
|
2020-06-15 17:16:46 +08:00
|
|
|
|
|
|
|
DECLARE_DEBUG_VARIABLE(bool, MakeAllBuffersResident, false, "Make all buffers resident after creation")
|
2020-06-19 17:20:27 +08:00
|
|
|
DECLARE_DEBUG_VARIABLE(int32_t, OverrideDefaultFP64Settings, -1, "-1: dont override, 0: disable, 1: enable.")
|
|
|
|
DECLARE_DEBUG_VARIABLE(int32_t, EnableCrossDeviceAccess, -1, "-1: default behavior, 0: disabled, 1: enabled, Allows one device to access another device's memory")
|
2021-01-25 17:24:00 +08:00
|
|
|
DECLARE_DEBUG_VARIABLE(std::string, ZE_AFFINITY_MASK, std::string("default"), "Refer to the Level Zero Specification for a desricption")
|