ermig1979 / Simd

C++ image processing and machine learning library with using of SIMD: SSE, AVX, AVX-512, AMX for x86/x64, VMX(Altivec) and VSX(Power7) for PowerPC, NEON for ARM.
http://ermig1979.github.io/Simd
MIT License
2.04k stars 407 forks source link

Compilation error #160

Closed shersoni610 closed 3 years ago

shersoni610 commented 3 years ago

Hello,

On Mac mini machine, I get the following compilation error: Simd/prj/cmake/../../src/Simd/SimdImageSaveJpeg.h:173:23: error: non-const lvalue reference to type 'uint64_t' (aka 'unsigned long long') cannot bind to a value of unrelated type 'size_t' (aka 'unsigned long') uint64_t &bitBuffer = stream.BitBuffer();

Can someone help?

ermig1979 commented 3 years ago

Hello!

Thank you for bug report. I tried to solve this trouble and did some changes. But I can't get access to Mac mini and check is this fixes the bug? Would you verify resolving of this bug on the target platform.

shersoni610 commented 3 years ago

One more issue: In file included from /Users/csverma/Projects/Avail/Simd/src/Test/TestFile.cpp:24: /home/Simd/prj/cmake/../../src/Test/TestFile.h:49:16: error: expected expression return return String(""); ^

ermig1979 commented 3 years ago

The second bug is fixed too. Are there any errors else?

shersoni610 commented 3 years ago

Thank you very much. The code compiles without any glitches on a Mac machine. However, one test fails.

Are there any benchmark results compared to Intel IPP?

Thanks

ermig1979 commented 3 years ago

There are no special tests which compare Simd an Intel IPP. But of course there is opportunity to compare performance manualy.