diff options
Diffstat (limited to 'arm_compute/graph2/backends/CL')
-rw-r--r-- | arm_compute/graph2/backends/CL/CLDeviceBackend.h | 2 | ||||
-rw-r--r-- | arm_compute/graph2/backends/CL/CLSubTensorHandle.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/arm_compute/graph2/backends/CL/CLDeviceBackend.h b/arm_compute/graph2/backends/CL/CLDeviceBackend.h index 77a8faf2c6..3a70f0b112 100644 --- a/arm_compute/graph2/backends/CL/CLDeviceBackend.h +++ b/arm_compute/graph2/backends/CL/CLDeviceBackend.h @@ -55,7 +55,7 @@ public: void initialize_backend() override; void setup_backend_context(GraphContext &ctx) override; std::unique_ptr<ITensorHandle> create_tensor(const Tensor &tensor) override; - std::unique_ptr<ITensorHandle> create_subtensor(ITensorHandle *parent, TensorShape shape, Coordinates coords) override; + std::unique_ptr<ITensorHandle> create_subtensor(ITensorHandle *parent, TensorShape shape, Coordinates coords, bool extend_parent) override; std::unique_ptr<arm_compute::IFunction> configure_node(INode &node, GraphContext &ctx) override; Status validate_node(INode &node) override; std::shared_ptr<arm_compute::IMemoryManager> create_memory_manager(MemoryManagerAffinity affinity) override; diff --git a/arm_compute/graph2/backends/CL/CLSubTensorHandle.h b/arm_compute/graph2/backends/CL/CLSubTensorHandle.h index 5584a8ba4f..9910980e59 100644 --- a/arm_compute/graph2/backends/CL/CLSubTensorHandle.h +++ b/arm_compute/graph2/backends/CL/CLSubTensorHandle.h @@ -43,8 +43,9 @@ public: * @param[in] parent_handle Parent tensor handle * @param[in] shape Sub-Tensor shape * @param[in] coords Starting coordinates + * @param[in] extend_parent Extends parent shape if true */ - CLSubTensorHandle(ITensorHandle *parent_handle, const TensorShape &shape, const Coordinates &coords); + CLSubTensorHandle(ITensorHandle *parent_handle, const TensorShape &shape, const Coordinates &coords, bool extend_parent = false); /** Destructor: free the tensor's memory */ ~CLSubTensorHandle() = default; /** Allow instances of this class to be move constructed */ |