24.04
|
Go to the documentation of this file.
27 #include "compute_kernel_writer/include/ckw/Error.h"
31 namespace experimental
33 namespace dynamic_fusion
41 const ckw::TensorSampler &sampler)
43 CKW_ASSERT(_tile ==
nullptr);
53 return _tensor.is_valid();
58 CKW_ASSERT(_tensor.is_valid());
65 CKW_ASSERT(_tensor.is_valid());
72 return _tile.is_valid();
77 CKW_ASSERT(_tile.is_valid());
84 CKW_ASSERT(_tile.is_valid());
91 CKW_ASSERT(_tile.is_valid());
98 CKW_ASSERT(_tile.is_valid());
GpuCkwComponentArgument()=default
Default constructor.
The argument of a dynamic fusion component which can be either user tensor or virtual tensor.
bool has_tile() const
Get whether the argument contains a tile.
SimpleTensor< T > tile(const SimpleTensor< T > &src, const Multiples &multiples)
GpuCkwComponentArgument & init_virtual_tensor(ckw::TileOperand &tile, const ckw::TensorSampler &sampler)
Bind the tile and sampler to the tensor argument.
bool has_tensor() const
Get whether the argument is a user tensor.
CLTensor * tensor
Pointer to the auxiliary tensor.
ckw::TensorOperand & tensor()
Get the tensor operand.
Copyright (c) 2017-2024 Arm Limited.
ckw::TensorSampler & tensor_sampler()
Get the tensor sampling information for the tile.
ckw::TileOperand & tile()
Get the tile operand.