1 /* 2 * Copyright (C) 2018-2021 Intel Corporation 3 * 4 * SPDX-License-Identifier: MIT 5 * 6 */ 7 8 #pragma once 9 10 #include "shared/source/os_interface/windows/d3dkmthk_wrapper.h" 11 12 #include <cstdint> 13 14 namespace NEO { 15 16 constexpr uintptr_t windowsMinAddress = 0x200000; 17 18 struct MonitoredFence { 19 D3DKMT_HANDLE fenceHandle = 0; 20 D3DGPU_VIRTUAL_ADDRESS gpuAddress = 0; 21 volatile uint64_t *cpuAddress = nullptr; 22 volatile uint64_t currentFenceValue = 0; 23 uint64_t lastSubmittedFence = 0; 24 }; 25 26 } // namespace NEO 27