Compute Library
 22.05
GEMMMatrixMultiplyNative.cpp File Reference

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 CLGEMMMatrixMultiplyNative = CLSynthetizeOperator< ClGemmMatrixMultiplyNativeKernel >
 
template<typename T >
using CLGEMMMatrixMultiplyNativeFixture = GEMMMatrixMultiplyNativeValidationFixture< CLTensor, CLAccessor, T, CLGEMMMatrixMultiplyNative >
 
template<typename T >
using CLGEMMMatrixMultiplyNativeWithPostOpsFixture = GEMMMatrixMultiplyNativeWithPostOpsValidationFixture< CLTensor, CLAccessor, T, CLGEMMMatrixMultiplyNative >
 
template<typename T >
using CLGEMMMatrixMultiplyNative3DFixture = GEMMMatrixMultiplyNative3DValidationFixture< CLTensor, CLAccessor, T, CLGEMMMatrixMultiplyNative >
 

Functions

 TEST_CASE (UnsupportedPostOpSequence, framework::DatasetMode::ALL)
 
 TEST_CASE (OutputWidened, framework::DatasetMode::ALL)
 
 TEST_CASE (BroadcastInXDimOnly, framework::DatasetMode::ALL)
 
 TEST_SUITE_END () FIXTURE_DATA_TEST_CASE(RunSmall = ActivationValidationQuantizedFixture<CLTensor, CLAccessor, CLActivationLayer, T>
 [CLActivationLayer Test snippet] More...
 
 ARM_COMPUTE_EXPECT (is_post_op_list_valid(m, n, k, batch, data_type, post_ops)==true, framework::LogLevel::ERRORS)
 
 TEST_CASE (BroadcastInYDimOnly, framework::DatasetMode::ALL)
 
 TEST_CASE (BroadcastInBothXandYDims, framework::DatasetMode::ALL)
 
 TEST_CASE (BroadcastInAllDims, framework::DatasetMode::ALL)
 
 combine (combine(combine(combine(combine(combine(combine(combine(m_values, n_values), k_values), framework::dataset::make("batch_size", 1)), m0_values_precommit), n0_values_precommit), k0_values_precommit), broadcast_bias_values), act_values)
 
 FIXTURE_DATA_TEST_CASE (RunSmallBoundaryHandlingPartialInXPartialInY, CLGEMMMatrixMultiplyNativeFixture< float >, framework::DatasetMode::ALL, combine(combine(framework::dataset::make("M", 3), framework::dataset::make("N", 1)), boundary_handling_cases))
 
 FIXTURE_DATA_TEST_CASE (RunSmallBoundaryHandlingPartialInXFullInY, CLGEMMMatrixMultiplyNativeFixture< float >, framework::DatasetMode::ALL, combine(combine(framework::dataset::make("M", 64), framework::dataset::make("N", 51)), boundary_handling_cases))
 
 FIXTURE_DATA_TEST_CASE (RunSmallBoundaryHandlingFullInXFullInY, CLGEMMMatrixMultiplyNativeFixture< float >, framework::DatasetMode::ALL, combine(combine(framework::dataset::make("M", 64), framework::dataset::make("N", 32)), boundary_handling_cases))
 
 FIXTURE_DATA_TEST_CASE (RunSmallBoundaryHandlingFullInXPartialInY, CLGEMMMatrixMultiplyNativeFixture< float >, framework::DatasetMode::ALL, combine(combine(framework::dataset::make("M", 37), framework::dataset::make("N", 32)), boundary_handling_cases))
 
 FIXTURE_DATA_TEST_CASE (RunSmall, CLGEMMMatrixMultiplyNativeFixture< float >, framework::DatasetMode::ALL, combine(combine(combine(combine(combine(combine(combine(combine(combine(combine(combine(m_values, n_values), k_values), b_values), m0_values_precommit), n0_values_precommit), k0_values_precommit), framework::dataset::make("DataType", DataType::F32)), a_values), beta_values), broadcast_bias_values), act_values))
 
 FIXTURE_DATA_TEST_CASE (RunLarge, CLGEMMMatrixMultiplyNativeFixture< float >, framework::DatasetMode::DISABLED, combine(combine(combine(combine(combine(combine(combine(combine(combine(combine(combine(m_values, n_values), k_values), b_values), m0_values_nightly), n0_values_nightly), k0_values_nightly), framework::dataset::make("DataType", DataType::F32)), a_values), beta_values), broadcast_bias_values), act_values))
 
 FIXTURE_DATA_TEST_CASE (RunSmall3D, CLGEMMMatrixMultiplyNative3DFixture< float >, framework::DatasetMode::ALL, combine(combine(combine(combine(combine(combine(combine(combine(combine(combine(combine(m_w_values, m_h_values), n_values), k_values), b_values), m0_values_precommit), n0_values_precommit), k0_values_precommit), framework::dataset::make("DataType", DataType::F32)), a_values), beta_values), act_values))
 
 FIXTURE_DATA_TEST_CASE (RunLarge3D, CLGEMMMatrixMultiplyNative3DFixture< float >, framework::DatasetMode::DISABLED, combine(combine(combine(combine(combine(combine(combine(combine(combine(combine(combine(m_w_values, m_h_values), n_values), k_values), b_values), m0_values_nightly), n0_values_nightly), k0_values_nightly), framework::dataset::make("DataType", DataType::F32)), a_values), beta_values), act_values))
 
 FIXTURE_DATA_TEST_CASE (RunSmall, CLGEMMMatrixMultiplyNativeWithPostOpsFixture< float >, framework::DatasetMode::ALL, combine(combine(combine(combine(combine(combine(combine(combine(combine(combine(combine(combine(m_values, n_values), k_values), b_values), framework::dataset::make("M0", { 4 })), n0_values_precommit), k0_values_precommit), framework::dataset::make("DataType", DataType::F32)), framework::dataset::make("alpha", {1.0f})), framework::dataset::make("beta", {1.0f})), framework::dataset::make("broadcast_bias", { false, true })), framework::dataset::make("Activation", { ActivationLayerInfo() })), post_op_lists))
 

Variables

const unsigned int m = 22
 
const unsigned int n = 16
 
const unsigned int k = 15
 
const unsigned int batch = 3
 
 m_value
 
 n_value
 
 k_value
 
 b_value
 
 m0_value
 
 n0_value
 
 k0_value
 
 broadcast_bias
 
 act_value