aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/graph/CL
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2017-10-02 18:51:47 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commite2c82fee3b6d38f6e79412c78176792b817defd0 (patch)
treeaa6821e33cfe8001c33086191c81c18d66ac7837 /arm_compute/graph/CL
parent48a60f9f7b0b7b5cf38253b7a2ac576aac43ef78 (diff)
downloadComputeLibrary-e2c82fee3b6d38f6e79412c78176792b817defd0.tar.gz
COMPMID-550: Adds support for branches.
Change-Id: I778007c9221ce3156400284c4039b90245eb2b7f Reviewed-on: http://mpd-gerrit.cambridge.arm.com/90043 Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'arm_compute/graph/CL')
-rw-r--r--arm_compute/graph/CL/CLMap.h10
-rw-r--r--arm_compute/graph/CL/CLUnmap.h8
2 files changed, 9 insertions, 9 deletions
diff --git a/arm_compute/graph/CL/CLMap.h b/arm_compute/graph/CL/CLMap.h
index a205ebcad1..732a1df77f 100644
--- a/arm_compute/graph/CL/CLMap.h
+++ b/arm_compute/graph/CL/CLMap.h
@@ -29,11 +29,11 @@
namespace arm_compute
{
-class CLTensor;
+class ICLTensor;
namespace graph
{
-class Tensor;
+class ITensorObject;
/** OpenCL map function */
class CLMap : public arm_compute::IFunction
{
@@ -43,7 +43,7 @@ public:
* @param[in] tensor Tensor to map
* @param[in] blocking Flag to specify if the map should be blocking or not (defaults to false)
*/
- CLMap(Tensor *tensor, bool blocking = false);
+ CLMap(ITensorObject *tensor, bool blocking = false);
/** Prevent instances from being copy constructed */
CLMap(const CLMap &) = delete;
/** Prevent instances from being copy assigned */
@@ -57,8 +57,8 @@ public:
void run() override;
private:
- arm_compute::CLTensor *_tensor; /**< Tensor */
- bool _blocking; /**< Blocking flag */
+ arm_compute::ICLTensor *_tensor; /**< Tensor */
+ bool _blocking; /**< Blocking flag */
};
} // namespace graph
} // namespace arm_compute
diff --git a/arm_compute/graph/CL/CLUnmap.h b/arm_compute/graph/CL/CLUnmap.h
index a72706353b..17745c436b 100644
--- a/arm_compute/graph/CL/CLUnmap.h
+++ b/arm_compute/graph/CL/CLUnmap.h
@@ -29,11 +29,11 @@
namespace arm_compute
{
-class CLTensor;
+class ICLTensor;
namespace graph
{
-class Tensor;
+class ITensorObject;
/** OpenCL un-map function */
class CLUnmap : public arm_compute::IFunction
{
@@ -42,7 +42,7 @@ public:
*
* @param[in] tensor Tensor to un-map
*/
- CLUnmap(Tensor *tensor);
+ CLUnmap(ITensorObject *tensor);
/** Prevent instances from being copy constructed */
CLUnmap(const CLUnmap &) = delete;
/** Prevent instances from being copy assigned */
@@ -56,7 +56,7 @@ public:
void run() override;
private:
- arm_compute::CLTensor *_tensor; /**< Tensor */
+ arm_compute::ICLTensor *_tensor; /**< Tensor */
};
} // namespace graph
} // namespace arm_compute