commit 1e6bccfb4fb9ef4cae2f54d08fb52e49ce1c4263
parent 215aeaf3c41aa7a14f57caaf97eb132614da85ae
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 9 May 2025 15:48:50 +0200
Fix of internal routine use_simd
Fix warning when SIMD_WIDTH macro is set to NONE and remove forgotten
debug printout.
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/misc/build.sh b/src/misc/build.sh
@@ -25,12 +25,11 @@ export BUILD_SH=1
use_simd()
{
if [ -z "${SIMD_WIDTH}" ]; then
- >&2 echo "HOP"
return 1
fi
- if [ "${SIMD_WIDTH}" -eq 128 ] \
- || [ "${SIMD_WIDTH}" -eq 256 ]; then
+ if [ "${SIMD_WIDTH}" = "128" ] \
+ || [ "${SIMD_WIDTH}" = "256" ]; then
return 0
else
return 1