Modify the macro definitions in the ZQ_CNN_CompileConfig.h file:
#define ZQ_CNN_SSETYPE_NONE 0
#define ZQ_CNN_SSETYPE_SSE 1
#define ZQ_CNN_SSETYPE_AVX 2
#define ZQ_CNN_SSETYPE_AVX2 3
#if defined(_WIN32)
#define ZQ_DECLSPEC_ALIGN32 __declspec(align(32))
#define ZQ_DECLSPEC_ALIGN16 __declspec(align(16))
// your settings
//#define ZQ_CNN_USE_SSETYPE ZQ_CNN_SSETYPE_AVX2
#define ZQ_CNN_USE_SSETYPE ZQ_CNN_SSETYPE_NONE
#define ZQ_CNN_USE_BLAS_GEMM 1 // if you want to use openblas, set to 1
#if ZQ_CNN_USE_BLAS_GEMM == 0
#define ZQ_CNN_USE_MKL_GEMM 0 //default=1
#endif
#if (ZQ_CNN_USE_BLAS_GEMM == 0 && ZQ_CNN_USE_MKL_GEMM == 0)
#define ZQ_CNN_USE_ZQ_GEMM 1
#endif
The compiled version fails to calculate the landmark, while the same code can calculate it correctly on the Windows x64 platform.
The only difference between the two platforms is the macro definition.
Modify the macro definitions in the ZQ_CNN_CompileConfig.h file:
#define ZQ_CNN_SSETYPE_NONE 0
#define ZQ_CNN_SSETYPE_SSE 1
#define ZQ_CNN_SSETYPE_AVX 2
#define ZQ_CNN_SSETYPE_AVX2 3
#if defined(_WIN32)
#define ZQ_DECLSPEC_ALIGN32 __declspec(align(32))
#define ZQ_DECLSPEC_ALIGN16 __declspec(align(16))
// your settings
//#define ZQ_CNN_USE_SSETYPE ZQ_CNN_SSETYPE_AVX2
#define ZQ_CNN_USE_SSETYPE ZQ_CNN_SSETYPE_NONE
#define ZQ_CNN_USE_BLAS_GEMM 1 // if you want to use openblas, set to 1
#if ZQ_CNN_USE_BLAS_GEMM == 0
#define ZQ_CNN_USE_MKL_GEMM 0 //default=1
#endif
#if (ZQ_CNN_USE_BLAS_GEMM == 0 && ZQ_CNN_USE_MKL_GEMM == 0)
#define ZQ_CNN_USE_ZQ_GEMM 1
#endif
The compiled version fails to calculate the landmark, while the same code can calculate it correctly on the Windows x64 platform.
The only difference between the two platforms is the macro definition.