24.04
|
#include "arm_compute/dynamic_fusion/sketch/gpu/GpuWorkloadSketch.h"
#include "arm_compute/dynamic_fusion/sketch/gpu/operators/GpuMul.h"
#include "tests/CL/CLAccessor.h"
#include "tests/datasets/DynamicFusionDataset.h"
#include "tests/datasets/ShapeDatasets.h"
#include "tests/framework/datasets/Datasets.h"
#include "tests/framework/Fixture.h"
#include "tests/framework/Macros.h"
#include "tests/validation/fixtures/dynamic_fusion/operators/MulFixture.h"
#include "tests/validation/Validation.h"
Go to the source code of this file.
Namespaces | |
arm_compute | |
Copyright (c) 2017-2024 Arm Limited. | |
arm_compute::test | |
arm_compute::test::validation | |
Typedefs | |
template<typename T > | |
using | DynamicFusionCLMulFixture = DynamicFusionMulOneOpValidationFixture< CLTensor, CLAccessor, GpuMul, T > |
template<typename T > | |
using | DynamicFusionCLMulBroadcastFixture = DynamicFusionMulBroadcastValidationFixture< CLTensor, CLAccessor, GpuMul, T > |
template<typename T > | |
using | DynamicFusionCLMulTwoOpsFixture = DynamicFusionMulTwoOpsValidationFixture< CLTensor, CLAccessor, GpuMul, T > |
Functions | |
DATA_TEST_CASE (Validate, framework::DatasetMode::ALL, zip(zip(framework::dataset::make("LhsInfo", { TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::F32), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::F16), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::F32), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::U8), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::S8), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::S16), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::S32), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::QASYMM8), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::QASYMM8_SIGNED), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::F32), TensorInfo(TensorShape(32U, 1U, 1U), 1, DataType::F32), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::F32), TensorInfo(TensorShape(15U, 23U, 3U), 1, DataType::F32), TensorInfo(TensorShape(3U, 8U, 9U), 1, DataType::F32), TensorInfo(TensorShape(32U, 13U, 2U, 2), 1, DataType::F32), }), framework::dataset::make("RhsInfo",{ TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::F32), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::F16), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::F16), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::U8), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::S8), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::S16), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::S32), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::QASYMM8), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::QASYMM8_SIGNED), TensorInfo(TensorShape(48U, 11U, 2U), 1, DataType::F32), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::F32), TensorInfo(TensorShape(32U, 1U, 1U), 1, DataType::F32), TensorInfo(TensorShape(15U, 1U, 3U), 1, DataType::F32), TensorInfo(TensorShape(3U, 8U, 1U), 1, DataType::F32), TensorInfo(TensorShape(32U, 13U, 2U, 2), 1, DataType::F32), })), framework::dataset::make("Expected", { true, true, false, false, false, false, false, false, false, false, true, true, false, false, true })), input1_info, input2_info, expected) | |
FIXTURE_DATA_TEST_CASE (RunSmallOneOp, DynamicFusionCLMulFixture< half >, framework::DatasetMode::ALL, combine(combine(datasets::SmallShapes(), framework::dataset::make("DataType", {DataType::F16})), framework::dataset::make("InPlace", {false}))) | |
FIXTURE_DATA_TEST_CASE (RunSmallBroadcastOneOp, DynamicFusionCLMulBroadcastFixture< half >, framework::DatasetMode::PRECOMMIT, combine(combine(datasets::TemporaryLimitedSmallShapesBroadcast(), framework::dataset::make("DataType", {DataType::F16})), framework::dataset::make("InPlace", {false}))) | |
FIXTURE_DATA_TEST_CASE (RunLargeBroadcastOneOp, DynamicFusionCLMulBroadcastFixture< half >, framework::DatasetMode::NIGHTLY, combine(combine(datasets::TemporaryLimitedLargeShapesBroadcast(), framework::dataset::make("DataType", {DataType::F16})), framework::dataset::make("InPlace", {false}))) | |
TEST_SUITE_END () FIXTURE_DATA_TEST_CASE(RunSmall = ActivationValidationQuantizedFixture<CLTensor, CLAccessor, CLActivationLayer, T> | |
[CLActivationLayer Test snippet] More... | |
combine (combine(datasets::SmallShapes(), framework::dataset::make("DataType", {DataType::F32})), framework::dataset::make("InPlace", {false}))) | |
FIXTURE_DATA_TEST_CASE (RunLargeOneOp, DynamicFusionCLMulFixture< float >, framework::DatasetMode::NIGHTLY, combine(combine(datasets::LargeShapes(), framework::dataset::make("DataType", {DataType::F32})), framework::dataset::make("InPlace", {false}))) | |
FIXTURE_DATA_TEST_CASE (RunSmallBroadcastOneOp, DynamicFusionCLMulBroadcastFixture< float >, framework::DatasetMode::PRECOMMIT, combine(combine(datasets::TemporaryLimitedSmallShapesBroadcast(), framework::dataset::make("DataType", {DataType::F32})), framework::dataset::make("InPlace", {false}))) | |
FIXTURE_DATA_TEST_CASE (RunLargeBroadcastOneOp, DynamicFusionCLMulBroadcastFixture< float >, framework::DatasetMode::NIGHTLY, combine(combine(datasets::TemporaryLimitedLargeShapesBroadcast(), framework::dataset::make("DataType", {DataType::F32})), framework::dataset::make("InPlace", {false}))) | |
FIXTURE_DATA_TEST_CASE (RunSmallTwoOps, DynamicFusionCLMulTwoOpsFixture< float >, framework::DatasetMode::PRECOMMIT, combine(combine(combine(datasets::DynamicFusionElementwiseBinaryTwoOpsSmallShapes(), framework::dataset::make("DataType", {DataType::F32})), framework::dataset::make("InPlace", {false})), framework::dataset::make("FuseTwoOps", {true}))) | |
Variables | |
DynamicFusionCLMulFixture< float > | |