compute-runtime/shared/source/helpers/dirty_state_helpers.h

24 lines
365 B
C++

/*
* Copyright (C) 2020-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include <cstdint>
#include <cstdlib>
namespace NEO {
class IndirectHeap;
class HeapDirtyState {
public:
bool updateAndCheck(const IndirectHeap *heap);
protected:
uint64_t gpuBaseAddress = 0llu;
size_t sizeInPages = 0u;
};
} // namespace NEO