aboutsummaryrefslogtreecommitdiff
path: root/tests/CL
diff options
context:
space:
mode:
authorMoritz Pflanzer <moritz.pflanzer@arm.com>2017-07-18 15:44:21 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-09-17 14:16:42 +0100
commitd58cec032556abb103cdf7564ab29762d5c4c051 (patch)
tree1c938fdb7f087129ee54654eeee55c53ffe97ca5 /tests/CL
parent81527bff7d6fc337fb9edec23c0b63a96b500bd4 (diff)
downloadComputeLibrary-d58cec032556abb103cdf7564ab29762d5c4c051.tar.gz
COMPMID-415: Cleanup accessors
Change-Id: Id19c8c1ea76f6e6679a4ac770e804f8012a2b5a6 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/80937 Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'tests/CL')
-rw-r--r--tests/CL/CLAccessor.h12
-rw-r--r--tests/CL/CLLutAccessor.h4
2 files changed, 4 insertions, 12 deletions
diff --git a/tests/CL/CLAccessor.h b/tests/CL/CLAccessor.h
index e6d226c89b..260da035c5 100644
--- a/tests/CL/CLAccessor.h
+++ b/tests/CL/CLAccessor.h
@@ -21,19 +21,16 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
-#ifndef __ARM_COMPUTE_TEST_CL_CLACCESSOR_H__
-#define __ARM_COMPUTE_TEST_CL_CLACCESSOR_H__
-
-#include "IAccessor.h"
+#ifndef __ARM_COMPUTE_TEST_CLACCESSOR_H__
+#define __ARM_COMPUTE_TEST_CLACCESSOR_H__
#include "arm_compute/runtime/CL/CLTensor.h"
+#include "tests/IAccessor.h"
namespace arm_compute
{
namespace test
{
-namespace cl
-{
/** Accessor implementation for @ref CLTensor objects. */
class CLAccessor : public IAccessor
{
@@ -130,7 +127,6 @@ inline void *CLAccessor::operator()(const Coordinates &coord)
{
return _tensor.ptr_to_element(coord);
}
-} // cl
} // namespace test
} // namespace arm_compute
-#endif /* __ARM_COMPUTE_TEST_CL_CLACCESSOR_H__ */
+#endif /* __ARM_COMPUTE_TEST_CLACCESSOR_H__ */
diff --git a/tests/CL/CLLutAccessor.h b/tests/CL/CLLutAccessor.h
index 49bd12f327..3877b1fe57 100644
--- a/tests/CL/CLLutAccessor.h
+++ b/tests/CL/CLLutAccessor.h
@@ -32,8 +32,6 @@ namespace arm_compute
{
namespace test
{
-namespace cl
-{
/** Accessor implementation for @ref CLLut objects. */
template <typename T>
class CLLutAccessor : public ILutAccessor<T>
@@ -88,8 +86,6 @@ public:
private:
CLLut &_lut;
};
-
-} // namespace cl
} // namespace test
} // namespace arm_compute
#endif /* __ARM_COMPUTE_TEST_CL_CLLUTACCESSOR_H__ */