aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/runtime/CL/functions/CLGEMM.h
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2018-04-24 15:14:12 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:49:54 +0000
commit82b51482479951cf133c223eb81aae291cb4d590 (patch)
treef7ce7b0f169755234f788d68e296a769230e9964 /arm_compute/runtime/CL/functions/CLGEMM.h
parent35aa6a36e7ef9302efd554aac9b84153ad7c6a9e (diff)
downloadComputeLibrary-82b51482479951cf133c223eb81aae291cb4d590.tar.gz
COMPMID-959: Sets memory manager to CLWinograd
-Sets memory manager to Winograd functions -Marks CLGEMM inputs as unused if needed Change-Id: I425a3f864c756e0e2b4da895e1730b8822149ba8 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/128891 Tested-by: Jenkins <bsgcomp@arm.com> Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'arm_compute/runtime/CL/functions/CLGEMM.h')
-rw-r--r--arm_compute/runtime/CL/functions/CLGEMM.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arm_compute/runtime/CL/functions/CLGEMM.h b/arm_compute/runtime/CL/functions/CLGEMM.h
index f2dd60340c..c5d7b86384 100644
--- a/arm_compute/runtime/CL/functions/CLGEMM.h
+++ b/arm_compute/runtime/CL/functions/CLGEMM.h
@@ -56,6 +56,14 @@ public:
* @param[in] memory_manager (Optional) Memory manager.
*/
CLGEMM(std::shared_ptr<IMemoryManager> memory_manager = nullptr);
+ /** Prevent instances of this class from being copied (As this class contains pointers) */
+ CLGEMM(const CLGEMM &) = delete;
+ /** Default move constructor */
+ CLGEMM(CLGEMM &&) = default;
+ /** Prevent instances of this class from being copied (As this class contains pointers) */
+ CLGEMM &operator=(const CLGEMM &) = delete;
+ /** Default move assignment operator */
+ CLGEMM &operator=(CLGEMM &&) = default;
/** Initialise the kernel's inputs and output
*
* @note GEMM: General Matrix Multiply - [alpha * A * B + beta * C].
@@ -101,6 +109,7 @@ private:
CLGEMMMatrixAdditionKernel _ma_kernel;
CLTensor _tmp_a;
CLTensor _tmp_b;
+ const ICLTensor *_original_b;
bool _is_interleaved_transposed;
bool _run_addition;
bool _is_first_run;