1 /* 2 * Copyright (C) 2020-2021 Intel Corporation 3 * 4 * SPDX-License-Identifier: MIT 5 * 6 */ 7 8 #pragma once 9 namespace NEO { 10 struct UltHwConfig { 11 bool mockedPrepareDeviceEnvironmentsFuncResult = true; 12 bool useHwCsr = false; 13 bool useMockedPrepareDeviceEnvironmentsFunc = true; 14 bool forceOsAgnosticMemoryManager = true; 15 bool useWaitForTimestamps = false; 16 17 bool csrFailInitDirectSubmission = false; 18 bool csrBaseCallDirectSubmissionAvailable = false; 19 bool csrSuperBaseCallDirectSubmissionAvailable = false; 20 21 bool csrBaseCallBlitterDirectSubmissionAvailable = false; 22 bool csrSuperBaseCallBlitterDirectSubmissionAvailable = false; 23 24 bool csrBaseCallCreatePreemption = true; 25 bool csrCreatePreemptionReturnValue = true; 26 }; 27 28 extern UltHwConfig ultHwConfig; 29 } // namespace NEO 30