From 71ff51ec226691cb86886ba1b96fefa59b77b4a1 Mon Sep 17 00:00:00 2001 From: sunsuodong Date: Fri, 13 Aug 2021 14:20:57 +0800 Subject: [PATCH] build help info --- build.sh | 2 +- mindspore/lite/include/errorcode.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index 814210f01a4..73c86a68af2 100755 --- a/build.sh +++ b/build.sh @@ -61,7 +61,7 @@ usage() echo " -l Compile with python dependency, default on" echo " -S Enable enable download cmake compile dependency from gitee , default off" echo " -k Enable make clean, clean up compilation generated cache " - echo " -W Enable x86_64 SSE or AVX instruction set, use [sse|neon|avx|avx512|off], default off for lite and avx for CPU" + echo " -W Enable SIMD instruction set, use [sse|neon|avx|avx512|off], default avx for cloud CPU backend" echo " -H Enable hidden" echo " -L Link and specify Tensor-RT library path, default disable Tensor-RT lib linking" } diff --git a/mindspore/lite/include/errorcode.h b/mindspore/lite/include/errorcode.h index 9ff4e093795..796aeea9481 100644 --- a/mindspore/lite/include/errorcode.h +++ b/mindspore/lite/include/errorcode.h @@ -27,7 +27,7 @@ using STATUS = int; /* Success */ constexpr int RET_OK = 0; /**< No error occurs. */ -/* Common error code, range: [-1, -100)*/ +/* Common error code, range: [-1, -100) */ constexpr int RET_ERROR = -1; /**< Common error code. */ constexpr int RET_NULL_PTR = -2; /**< NULL pointer returned.*/ constexpr int RET_PARAM_INVALID = -3; /**< Invalid parameter.*/ @@ -58,7 +58,7 @@ constexpr int RET_FORMAT_ERR = -400; /**< Failed to checking tensor format. */ constexpr int RET_INFER_ERR = -500; /**< Failed to infer shape. */ constexpr int RET_INFER_INVALID = -501; /**< Invalid infer shape before runtime. */ -/* User input param error code, range: [-600, 700)*/ +/* User input param error code, range: [-600, 700) */ constexpr int RET_INPUT_PARAM_INVALID = -600; /**< Invalid input param by user. */ /// \brief Print description of errorcode.