/* * Copyright (C) 2017-2019 Intel Corporation * * SPDX-License-Identifier: MIT * */ #pragma once #include "runtime/memory_manager/memory_manager.h" #include namespace NEO { struct ResidencyData { std::vector resident = std::vector(MemoryManager::maxOsContextCount, 0); void updateCompletionData(uint64_t newFenceValue, uint32_t contextId); uint64_t getFenceValueForContextId(uint32_t contextId); protected: std::vector lastFenceValues = std::vector(MemoryManager::maxOsContextCount, 0); }; } // namespace NEO