mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 09:58:55 +08:00
- save position of kernel internal container when allocation can change - reuse the same position when new allocation arrives - add index container for additional allocation of image argument - save position of additional allocation of image argument - reuse position when for new image argument Related-To: NEO-11719 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
18 lines
366 B
C++
18 lines
366 B
C++
/*
|
|
* Copyright (C) 2024 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "shared/source/program/sync_buffer_handler.h"
|
|
|
|
class MockSyncBufferHandler : public NEO::SyncBufferHandler {
|
|
public:
|
|
using SyncBufferHandler::bufferSize;
|
|
using SyncBufferHandler::graphicsAllocation;
|
|
using SyncBufferHandler::usedBufferSize;
|
|
};
|