mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +08:00
Move definition of allocations list method to internal_allocation_storage.cpp Change-Id: I4c6038df8fd1b9335e8a74edbab33b78f9293d8f Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
24 lines
590 B
C++
24 lines
590 B
C++
/*
|
|
* Copyright (C) 2018 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "runtime/utilities/idlist.h"
|
|
#include <cstdint>
|
|
|
|
namespace OCLRT {
|
|
class GraphicsAllocation;
|
|
class CommandStreamReceiver;
|
|
|
|
class AllocationsList : public IDList<GraphicsAllocation, true, true> {
|
|
public:
|
|
std::unique_ptr<GraphicsAllocation> detachAllocation(size_t requiredMinimalSize, CommandStreamReceiver &commandStreamReceiver, bool internalAllocationRequired);
|
|
|
|
private:
|
|
GraphicsAllocation *detachAllocationImpl(GraphicsAllocation *, void *);
|
|
};
|
|
} // namespace OCLRT
|