Files
compute-runtime/runtime/os_interface/linux/drm_memory_operations_handler.h
Zbigniew Zdanowicz 5e4ade58f8 Change memory interface makeResident call to accept multiple allocations
Change-Id: I5434e30b5200d89d9912aeb7a06b230220ec1de4
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-01-13 12:50:23 +01:00

23 lines
628 B
C++

/*
* Copyright (C) 2019-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "core/memory_manager/memory_operations_handler.h"
namespace NEO {
class DrmMemoryOperationsHandler : public MemoryOperationsHandler {
public:
DrmMemoryOperationsHandler();
~DrmMemoryOperationsHandler() override = default;
MemoryOperationsStatus makeResident(ArrayRef<GraphicsAllocation *> gfxAllocations) override;
MemoryOperationsStatus evict(GraphicsAllocation &gfxAllocation) override;
MemoryOperationsStatus isResident(GraphicsAllocation &gfxAllocation) override;
};
} // namespace NEO