aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorAnthony Barbier <anthony.barbier@arm.com>2018-07-20 09:56:58 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:54:54 +0000
commit9c07c9609dbc9bbeb211b3bd38195f19ab42904c (patch)
tree92acc95ec55d78e180d66e393710216be2fd3837 /utils
parentdbbe4a31f8eac4bceffa3805640c658bed25ce18 (diff)
downloadComputeLibrary-9c07c9609dbc9bbeb211b3bd38195f19ab42904c.tar.gz
COMPMID-1246: Print the name of the file that cannot be loaded
Change-Id: I60e0ad323ea3c6c61be2d41d2125188bc52eaf17 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/140733 Tested-by: Jenkins <bsgcomp@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'utils')
-rw-r--r--utils/GraphUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/GraphUtils.cpp b/utils/GraphUtils.cpp
index 5c1fda5ca6..0ce6076f6e 100644
--- a/utils/GraphUtils.cpp
+++ b/utils/GraphUtils.cpp
@@ -604,7 +604,7 @@ bool NumPyBinLoader::access_tensor(ITensor &tensor)
// Open file
std::ifstream stream(_filename, std::ios::in | std::ios::binary);
- ARM_COMPUTE_ERROR_ON_MSG(!stream.good(), "Failed to load binary data");
+ ARM_COMPUTE_ERROR_ON_MSG(!stream.good(), "Failed to load binary data from %s", _filename.c_str());
std::string header = npy::read_header(stream);
// Parse header