Compute Library
 22.11
GEMM.cpp File Reference
#include "arm_compute/core/Types.h"
#include "arm_compute/runtime/NEON/functions/NEGEMM.h"
#include "arm_compute/runtime/Tensor.h"
#include "arm_compute/runtime/TensorAllocator.h"
#include "src/core/helpers/MemoryHelpers.h"
#include "src/cpu/kernels/CpuGemmInterleave4x4Kernel.h"
#include "src/cpu/kernels/CpuGemmMatrixMultiplyKernel.h"
#include "src/cpu/kernels/CpuGemmTranspose1xWKernel.h"
#include "src/cpu/operators/CpuGemm.h"
#include "tests/NEON/Accessor.h"
#include "tests/NEON/Helper.h"
#include "tests/PaddingCalculator.h"
#include "tests/datasets/LargeGEMMDataset.h"
#include "tests/datasets/SmallGEMMDataset.h"
#include "tests/datasets/TinyGEMMDataset.h"
#include "tests/framework/Asserts.h"
#include "tests/framework/Macros.h"
#include "tests/framework/datasets/Datasets.h"
#include "tests/validation/Validation.h"
#include "tests/validation/fixtures/GEMMFixture.h"
#include "tests/validation/fixtures/GEMMInterleave4x4Fixture.h"
#include "tests/validation/fixtures/GEMMTranspose1xWFixture.h"

Go to the source code of this file.

Namespaces

 arm_compute
 Copyright (c) 2017-2022 Arm Limited.
 
 arm_compute::test
 
 arm_compute::test::validation
 

Typedefs

using CpuGemmTranspose1xWFixture = GEMMTranspose1xWValidationFixture< Tensor, Accessor, CpuGemmTranspose1xW, uint32_t >
 
using CpuGemmInterleave4x4Fixture = GEMMInterleave4x4ValidationFixture< Tensor, Accessor, CpuGemmInterleave4x4, uint32_t >
 
template<typename T >
using NEBatchedMatMulFixture = GEMMValidationFixture< Tensor, Accessor, NEGEMM, T, true, false, false, false, false, true >
 

Functions

 TEST_CASE (MemoryInjection, framework::DatasetMode::ALL)
 Test case for memory injection in cpu::CpuWinogradConv2d. More...
 
 TEST_CASE (MultipleExecutionWithConfigure, framework::DatasetMode::ALL)
 Test case for memory injection in NEWinogradConvolutionLayer. More...
 
 DATA_TEST_CASE (KernelSelection_mul_and_add, framework::DatasetMode::ALL, combine(framework::dataset::make("CpuExt", std::string("NEON")), framework::dataset::make("DataType", { DataType::F32, DataType::F16 })), cpu_ext, data_type)
 
 TEST_SUITE_END () FIXTURE_DATA_TEST_CASE(RunSmall = ActivationValidationQuantizedFixture<CLTensor, CLAccessor, CLActivationLayer, T>
 [CLActivationLayer Test snippet] More...
 
 DATA_TEST_CASE (ValidateZeroPadding, framework::DatasetMode::ALL, zip(framework::dataset::make("N", { 1, 23, 63, 101 }), framework::dataset::make("K", { 1, 47, 29, 27 })), n_value, k_value)
 
 DATA_TEST_CASE (ValidateZeroPadding, framework::DatasetMode::ALL, zip(framework::dataset::make("M", { 1, 23, 63, 101 }), framework::dataset::make("K", { 1, 47, 29, 27 })), m_value, k_value)
 
 DATA_TEST_CASE (ValidateZeroPadding, framework::DatasetMode::ALL, zip(framework::dataset::make("In0", { TensorShape(21U, 13U), TensorShape(31U, 1U), TensorShape(31U, 1U), TensorShape(8U, 2U), TensorShape(38U, 12U), TensorShape(32U, 1U) }), framework::dataset::make("In1", { TensorShape(33U, 21U), TensorShape(23U, 31U), TensorShape(23U, 31U), TensorShape(16U, 8U), TensorShape(21U, 38U), TensorShape(17U, 32U) })), shape0, shape1)
 
 FIXTURE_DATA_TEST_CASE (RunSmall, NEGEMMFixture< float >, framework::DatasetMode::PRECOMMIT, combine(combine(datasets::SmallGEMMDataset(), framework::dataset::make("ReshapeWeights", { true, false })), framework::dataset::make("DataType", DataType::F32)))
 
 FIXTURE_DATA_TEST_CASE (RunLarge, NEGEMMFixture< float >, framework::DatasetMode::NIGHTLY, combine(combine(datasets::LargeGEMMDataset(), framework::dataset::make("ReshapeWeights", { true, false })), framework::dataset::make("DataType", DataType::F32)))
 
 FIXTURE_DATA_TEST_CASE (RunSmall, NEBatchedMatMulFixture< float >, framework::DatasetMode::PRECOMMIT, combine(combine(datasets::SmallBatchedMatMulDataset(), framework::dataset::make("ReshapeWeights", { false })), framework::dataset::make("DataType", DataType::F32)))