aboutsummaryrefslogtreecommitdiff
path: root/src/backends/backendsCommon/test/layerTests/DebugTestImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/backends/backendsCommon/test/layerTests/DebugTestImpl.cpp')
-rw-r--r--src/backends/backendsCommon/test/layerTests/DebugTestImpl.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/backends/backendsCommon/test/layerTests/DebugTestImpl.cpp b/src/backends/backendsCommon/test/layerTests/DebugTestImpl.cpp
index e2fa8dbf5a..2ec94bca58 100644
--- a/src/backends/backendsCommon/test/layerTests/DebugTestImpl.cpp
+++ b/src/backends/backendsCommon/test/layerTests/DebugTestImpl.cpp
@@ -1,5 +1,5 @@
//
-// Copyright © 2017 Arm Ltd and Contributors. All rights reserved.
+// Copyright © 2017,2023 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
@@ -72,9 +72,8 @@ LayerTestResult<T, Dim> DebugTestImpl(
{
// Given that this is dependent on an ExNet switch, we need to explicitly set the directory that the
// files are stored in as this happens within the ExNet flow
- fs::path tmpDir = fs::temp_directory_path();
- armnnUtils::Filesystem::CreateDirectory("/ArmNNIntermediateLayerOutputs");
- std::string full_path = tmpDir.generic_string() + "/ArmNNIntermediateLayerOutputs/" + layerName + ".numpy";
+ auto tmpDir = armnnUtils::Filesystem::CreateDirectory("/ArmNNIntermediateLayerOutputs");
+ std::string full_path = tmpDir + layerName + ".numpy";
ExecuteWorkload(*workload, memoryManager);