mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
refactor: Explicitly delete unused functions of BarrierCommand
Comply with the rule of five. Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
c1ba425631
commit
9513df52a6
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2019-2023 Intel Corporation
|
||||
* Copyright (C) 2019-2024 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -17,6 +17,10 @@ class BarrierCommand {
|
||||
public:
|
||||
BarrierCommand(CommandQueue *commandQueue, const cl_resource_barrier_descriptor_intel *descriptors, uint32_t numDescriptors);
|
||||
~BarrierCommand() {}
|
||||
BarrierCommand(BarrierCommand &&other) noexcept = delete;
|
||||
BarrierCommand(const BarrierCommand &other) = delete;
|
||||
BarrierCommand &operator=(BarrierCommand &&other) noexcept = delete;
|
||||
BarrierCommand &operator=(const BarrierCommand &other) = delete;
|
||||
uint32_t numSurfaces = 0;
|
||||
StackVec<ResourceSurface, 32> surfaces;
|
||||
StackVec<Surface *, 32> surfacePtrs;
|
||||
|
||||
Reference in New Issue
Block a user