mirror of
https://github.com/intel/compute-runtime.git
synced 2025-06-28 17:58:30 +08:00

Cleaned up files: opencl/source/command_queue/command_queue_hw.h opencl/source/gtpin/gtpin_defs.h opencl/source/mem_obj/mem_obj_helper.h opencl/source/memory_manager/mem_obj_surface.h opencl/source/sharings/unified/unified_sharing.h opencl/test/unit_test/api/cl_enqueue_migrate_mem_objects_tests.inl opencl/test/unit_test/aub_tests/fixtures/unified_memory_fixture.h opencl/test/unit_test/command_queue/command_queue_fixture.h Related-To: NEO-5548 Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
29 lines
462 B
C++
29 lines
462 B
C++
/*
|
|
* Copyright (C) 2020-2023 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "shared/source/memory_manager/surface.h"
|
|
|
|
namespace NEO {
|
|
|
|
class MemObj;
|
|
|
|
class MemObjSurface : public Surface {
|
|
public:
|
|
MemObjSurface(MemObj *memObj);
|
|
~MemObjSurface() override;
|
|
|
|
void makeResident(CommandStreamReceiver &csr) override;
|
|
|
|
Surface *duplicate() override;
|
|
|
|
protected:
|
|
class MemObj *memObj;
|
|
};
|
|
|
|
} // namespace NEO
|