diff --git a/include/armnn/backends/WorkloadInfo.hpp b/include/armnn/backends/WorkloadInfo.hpp index 23a5172d83..d6c4dcc259 100644 --- a/include/armnn/backends/WorkloadInfo.hpp +++ b/include/armnn/backends/WorkloadInfo.hpp @@ -17,10 +17,10 @@ struct WorkloadInfo { std::vector m_InputTensorInfos; std::vector m_OutputTensorInfos; + std::string m_Name; Optional m_WeightsTensorInfo = EmptyOptional(); Optional m_BiasTensorInfo = EmptyOptional(); Optional m_ConvolutionMethod = EmptyOptional(); - std::string m_Name; }; struct MemoryInfo diff --git a/src/backends/backendsCommon/test/DynamicBackendTests.hpp b/src/backends/backendsCommon/test/DynamicBackendTests.hpp index 973759ee41..218a286143 100644 --- a/src/backends/backendsCommon/test/DynamicBackendTests.hpp +++ b/src/backends/backendsCommon/test/DynamicBackendTests.hpp @@ -1467,10 +1467,10 @@ void CreateReferenceDynamicBackendTestImpl() { { inputInfo, weightInfo }, { outputInfo }, + "Name", EmptyOptional(), EmptyOptional(), - EmptyOptional(), - "Name" + EmptyOptional() }; convolution2dQueueDescriptor.m_Inputs.push_back(nullptr); @@ -1553,10 +1553,10 @@ void CreateSampleDynamicBackendTestImpl() { { inputInfo, inputInfo }, { outputInfo }, + "Name", EmptyOptional(), EmptyOptional(), - EmptyOptional(), - "Name" + EmptyOptional() }; // Create a addition workload