/* * Copyright (C) 2021-2023 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/os_interface/windows/debug_registry_reader.h" #include namespace NEO { unsigned int readEnablePreemptionRegKey() { auto registryReader = std::make_unique(false, "System\\CurrentControlSet\\Control\\GraphicsDrivers\\Scheduler"); return static_cast(registryReader->getSetting("EnablePreemption", 1)); } } // namespace NEO