diff options
author | Rob Hughes <robert.hughes@arm.com> | 2022-01-21 10:56:14 +0000 |
---|---|---|
committer | Rob Hughes <robert.hughes@arm.com> | 2022-01-21 11:00:38 +0000 |
commit | 5bcc0723ff66efd46ad46a16b0d8868557f8e37f (patch) | |
tree | a39d6a5c0b27d8b3ae8533370fa6d0c5ed6d839f /src | |
parent | b03043e4b2ee988daead10307f082e85f26669cb (diff) | |
download | armnn-5bcc0723ff66efd46ad46a16b0d8868557f8e37f.tar.gz |
Fix build using gcc-5
It seems the compiler was interpreting 'DataType' as the template argument
rather than the type name. By fully qualifying the type name, it avoids
this ambiguity.
Change-Id: Iab00b0a22390417a5a6b22c829a171152f2da495
Signed-off-by: Rob Hughes <robert.hughes@arm.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/backends/reference/test/RefCreateWorkloadTests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backends/reference/test/RefCreateWorkloadTests.cpp b/src/backends/reference/test/RefCreateWorkloadTests.cpp index 6dbbd556a9..c46a9e5bac 100644 --- a/src/backends/reference/test/RefCreateWorkloadTests.cpp +++ b/src/backends/reference/test/RefCreateWorkloadTests.cpp @@ -1282,8 +1282,8 @@ static void RefCreateActivationWorkloadReplaceFunctionsTest() // new input and output tensor handlers are created and then replace in the workload shared_ptr<RefMemoryManager> memoryManager = make_shared<RefMemoryManager>(); const RefTensorHandleFactory tensorHandleFactory(memoryManager); - TensorInfo inputInfo({2 , 2}, DataType::Float16); - TensorInfo outputInfo({2 , 2}, DataType::Float16); + TensorInfo inputInfo({2 , 2}, armnn::DataType::Float16); + TensorInfo outputInfo({2 , 2}, armnn::DataType::Float16); unique_ptr<ITensorHandle> inputHandle = tensorHandleFactory.CreateTensorHandle(inputInfo); unique_ptr<ITensorHandle> outputHandle = tensorHandleFactory.CreateTensorHandle(outputInfo); unsigned int slot = 0; |