From cb35b9de7798135193d766ce5da6f333ef6bd911 Mon Sep 17 00:00:00 2001 From: yejianwu Date: Mon, 11 Dec 2017 17:54:23 +0800 Subject: [PATCH] merge mul --- mace/core/runtime/opencl/opencl_runtime.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mace/core/runtime/opencl/opencl_runtime.cc b/mace/core/runtime/opencl/opencl_runtime.cc index b153229f..32ec8153 100644 --- a/mace/core/runtime/opencl/opencl_runtime.cc +++ b/mace/core/runtime/opencl/opencl_runtime.cc @@ -32,7 +32,7 @@ bool ReadFile(const std::string &filename, std::string &content, bool binary) { ifs.seekg(0, std::ios::end); const size_t filesize = ifs.tellg(); - if (filesize > 10 * 1024 * 1024) { + if (filesize > 10485760) { // 10485760 == 10 * 1024 * 1024 LOG(ERROR) << "Filesize overflow 10MB"; return false; } -- GitLab