22.05
|
#include <aclCommon/ArmComputeTensorUtils.hpp>
#include <armnnTestUtils/LayerTestResult.hpp>
#include <armnnTestUtils/MemCopyTestImpl.hpp>
#include <cl/ClWorkloadFactory.hpp>
#include <cl/test/ClContextControlFixture.hpp>
#include <cl/test/ClWorkloadFactoryHelper.hpp>
#include <neon/NeonWorkloadFactory.hpp>
#include <neon/test/NeonWorkloadFactoryHelper.hpp>
#include <doctest/doctest.h>
Go to the source code of this file.
Functions | |
TEST_SUITE ("MemCopyCommon") | |
TEST_CASE_FIXTURE (ClContextControlFixture, "CopyBetweenNeonAndGpu") | |
TEST_CASE_FIXTURE (ClContextControlFixture, "CopyBetweenGpuAndNeon") | |
TEST_CASE_FIXTURE (ClContextControlFixture, "CopyBetweenNeonAndGpuWithSubtensors") | |
TEST_CASE_FIXTURE (ClContextControlFixture, "CopyBetweenGpuAndNeonWithSubtensors") | |
TEST_CASE_FIXTURE | ( | ClContextControlFixture | , |
"CopyBetweenNeonAndGpu" | |||
) |
Definition at line 89 of file MemCopyTests.cpp.
References CompareTensors(), LayerTestResult< T, n >::m_ActualData, LayerTestResult< T, n >::m_ActualShape, LayerTestResult< T, n >::m_ExpectedData, and LayerTestResult< T, n >::m_ExpectedShape.
Referenced by TEST_SUITE().
TEST_CASE_FIXTURE | ( | ClContextControlFixture | , |
"CopyBetweenGpuAndNeon" | |||
) |
Definition at line 98 of file MemCopyTests.cpp.
References CompareTensors(), LayerTestResult< T, n >::m_ActualData, LayerTestResult< T, n >::m_ActualShape, LayerTestResult< T, n >::m_ExpectedData, and LayerTestResult< T, n >::m_ExpectedShape.
TEST_CASE_FIXTURE | ( | ClContextControlFixture | , |
"CopyBetweenNeonAndGpuWithSubtensors" | |||
) |
Definition at line 107 of file MemCopyTests.cpp.
References CompareTensors(), LayerTestResult< T, n >::m_ActualData, LayerTestResult< T, n >::m_ActualShape, LayerTestResult< T, n >::m_ExpectedData, and LayerTestResult< T, n >::m_ExpectedShape.
TEST_CASE_FIXTURE | ( | ClContextControlFixture | , |
"CopyBetweenGpuAndNeonWithSubtensors" | |||
) |
Definition at line 116 of file MemCopyTests.cpp.
References CompareTensors(), LayerTestResult< T, n >::m_ActualData, LayerTestResult< T, n >::m_ActualShape, LayerTestResult< T, n >::m_ExpectedData, and LayerTestResult< T, n >::m_ExpectedShape.
TEST_SUITE | ( | "MemCopyCommon" | ) |
Definition at line 20 of file MemCopyTests.cpp.