aboutsummaryrefslogtreecommitdiff
path: root/tests/GLES_COMPUTE
diff options
context:
space:
mode:
authorJoel Liang <joel.liang@arm.com>2017-12-28 10:09:51 +0800
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:42:33 +0000
commit1c5ffd612979d40730feecc4f43fa6c9f177f2e3 (patch)
tree510367ba70fcad4374d2cf9cdccdb3bc715c216c /tests/GLES_COMPUTE
parentc5a7e59655b61ad617fa34a4fb00e1a007c8255a (diff)
downloadComputeLibrary-1c5ffd612979d40730feecc4f43fa6c9f177f2e3.tar.gz
APPBROWSER-359: Sync tensor in GC benchmark tests
Change-Id: I22c1aa92e70d6143bbcec90e9e7de9f1ce1c1e55 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/114635 Tested-by: Jenkins <bsgcomp@arm.com> Reviewed-by: Pablo Tello <pablo.tello@arm.com>
Diffstat (limited to 'tests/GLES_COMPUTE')
-rw-r--r--tests/GLES_COMPUTE/Helper.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/GLES_COMPUTE/Helper.h b/tests/GLES_COMPUTE/Helper.h
index 5f6460aa61..c2cd7c0dc8 100644
--- a/tests/GLES_COMPUTE/Helper.h
+++ b/tests/GLES_COMPUTE/Helper.h
@@ -91,23 +91,6 @@ inline void print_tensor(ITensor &tensor, const std::string &name, IOFormatInfo
std::cout << name << ":" << std::endl;
std::cout << s.str().c_str();
t.unmap();
-
- return;
-}
-
-/** Helper to sync tensor, if tensor is not used, GPU have optimized the operation.
- *
- * @param[in] tensor Tensor to be sync.
- *
- * @return Empty @ref GCTensor with the specified shape and data type.
- */
-inline void force_sync_tensor(ITensor &tensor)
-{
- IGCTensor &t = dynamic_cast<IGCTensor &>(tensor);
- t.map();
- t.unmap();
-
- return;
}
} // namespace gles_compute
} // namespace test