Posted September 7, 20195 yr I use Visual Studio 2010 Enterprise! In a Visual Studio project barswf_cpu.vcxproj I've saw this <ClCompile> <Optimization>MaxSpeedHighLevel</Optimization> Apparently this value is not valid, https://docs.microsoft.com/en-us/cpp/build/reference/o-options-optimize-code?view=vs-2019 I've replaced that (MaxSpeedHighLevel) with: <ClCompile> <Optimization>MaxSpeed</Optimization> Now compiles, the problem is that speed is of 45 MHashes/second instead of 60 MHashes/seconds (in already compiled exe by someone else) - so the speed is 25% slower. Anyone know what is with MaxSpeedHighLevel ??? And more important how to improve speed?
September 7, 20195 yr Author https://github.com/Microsoft/vcpkg/issues/3771 From that: " As I said in the original post, this is a value used by icc, the intel compiler." So I have to install intel compiler which will allow /O3 optimizations!
September 8, 20195 yr Author Intel C++ Compiler v11.xx supports Visual Studio 2008 and not latter VS like 2010 Intel Parallel Studio XE 2013 - Intel(R) C++ Composer XE 2013 SP1 includes Intel C++ Compiler and supports Visual Studio 2010. You should include the lib folder (in Library Directories): C:\Program Files\Intel\Composer XE 2013 SP1\compiler\lib\ia32 AND NOT C:\Program Files\Intel\Compiler\11.1\067\lib\ia32 Anyway after compiling with /O3 optimizations the speed is slower then with Visual C++ /O2 optimizations!
September 8, 20195 yr Author With Intel C++ Compiler the /O2 optimization is faster then /O3 optimization ! What?
Create an account or sign in to comment