diff options
author | Viet-Hoa Do <viet-hoa.do@arm.com> | 2023-07-25 14:00:46 +0100 |
---|---|---|
committer | Viet-Hoa Do <viet-hoa.do@arm.com> | 2023-07-27 14:34:04 +0000 |
commit | 0b23e0e6402cb18ddf621d36454cadbb73959518 (patch) | |
tree | 244c32e5a44a8c2a644cb6a1e965c114175d2515 /compute_kernel_writer/include/ckw/TileOperand.h | |
parent | 9662ac062bafe454afb77a563648e5577c5a8360 (diff) | |
download | ComputeLibrary-0b23e0e6402cb18ddf621d36454cadbb73959518.tar.gz |
Add TensorOperand and declare tensor argument
Partially resolves: COMPMID-6391
Signed-off-by: Viet-Hoa Do <viet-hoa.do@arm.com>
Change-Id: I849d486401f99a93919015f2e173559dca5bffa2
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/9972
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Gunes Bayir <gunes.bayir@arm.com>
Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Benchmark: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'compute_kernel_writer/include/ckw/TileOperand.h')
-rw-r--r-- | compute_kernel_writer/include/ckw/TileOperand.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compute_kernel_writer/include/ckw/TileOperand.h b/compute_kernel_writer/include/ckw/TileOperand.h index fe44b73e82..873a9825f3 100644 --- a/compute_kernel_writer/include/ckw/TileOperand.h +++ b/compute_kernel_writer/include/ckw/TileOperand.h @@ -29,6 +29,7 @@ namespace ckw { class KernelWriter; +class TensorOperand; class ITile; /** A tile operand refers to a tile object that can be used for kernel writing. */ @@ -36,8 +37,9 @@ class TileOperand { public: // The constructor and _tile field is completely hidden from the public API to avoid any misuse. - // Only kernel writer class interacts with tile operand hence we allow it to access this field. + // Only kernel writer and tensor operand classes create and interact with tile operand hence we allow them to access this field. friend class KernelWriter; + friend class TensorOperand; private: // These are hidden from the public API to avoid any misuse. |