build help info

This commit is contained in:
sunsuodong 2021-08-13 14:20:57 +08:00
parent 3aeece71ae
commit 71ff51ec22
2 changed files with 3 additions and 3 deletions

View File

@ -61,7 +61,7 @@ usage()
echo " -l Compile with python dependency, default on" echo " -l Compile with python dependency, default on"
echo " -S Enable enable download cmake compile dependency from gitee , default off" echo " -S Enable enable download cmake compile dependency from gitee , default off"
echo " -k Enable make clean, clean up compilation generated cache " 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 " -H Enable hidden"
echo " -L Link and specify Tensor-RT library path, default disable Tensor-RT lib linking" echo " -L Link and specify Tensor-RT library path, default disable Tensor-RT lib linking"
} }

View File

@ -27,7 +27,7 @@ using STATUS = int;
/* Success */ /* Success */
constexpr int RET_OK = 0; /**< No error occurs. */ 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_ERROR = -1; /**< Common error code. */
constexpr int RET_NULL_PTR = -2; /**< NULL pointer returned.*/ constexpr int RET_NULL_PTR = -2; /**< NULL pointer returned.*/
constexpr int RET_PARAM_INVALID = -3; /**< Invalid parameter.*/ 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_ERR = -500; /**< Failed to infer shape. */
constexpr int RET_INFER_INVALID = -501; /**< Invalid infer shape before runtime. */ 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. */ constexpr int RET_INPUT_PARAM_INVALID = -600; /**< Invalid input param by user. */
/// \brief Print description of errorcode. /// \brief Print description of errorcode.