From d58cec032556abb103cdf7564ab29762d5c4c051 Mon Sep 17 00:00:00 2001 From: Moritz Pflanzer Date: Tue, 18 Jul 2017 15:44:21 +0100 Subject: COMPMID-415: Cleanup accessors Change-Id: Id19c8c1ea76f6e6679a4ac770e804f8012a2b5a6 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/80937 Tested-by: Kaizen Reviewed-by: Anthony Barbier --- tests/CL/CLAccessor.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'tests/CL/CLAccessor.h') 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__ */ -- cgit v1.2.1