aboutsummaryrefslogtreecommitdiff
path: root/src/armnnUtils/Filesystem.hpp
blob: ba0d97a272fc3491351415e86543f560cff3765f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//
// Copyright © 2020 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//

#pragma once

#if defined(_MSC_VER)
// ghc includes Windows.h directly, bringing in macros that we don't want (e.g. min/max).
// By including Windows.h ourselves first (with appropriate options), we prevent this.
#include <common/include/WindowsWrapper.hpp>
#endif
#include <ghc/filesystem.hpp>
namespace fs = ghc::filesystem;

namespace armnnUtils
{
namespace Filesystem
{

/// Returns a path to a file in the system temporary folder. If the file existed it will be deleted.
fs::path NamedTempFile(const char* fileName);

}
}