Relative Content

Tag Archive for c++dllparallel-processingopenmp

why is Visual Studio 2022 17.9.6 ignoring #pragma omp parallel for?

I am trying to parallelize a very long-running function in a DLL. The DLL in question is begin built with the command line:
/JMC /permissive- /MP /ifcOutput “x64Debug” /GS /W3 /Zc:wchar_t /ZI /Gm- /Od /sdl /Fd”x64Debugvc143.pdb” /Zc:inline /D “_WINDOWS” /D “_USRDLL” /D “BOOST_INTERPROCESS_SHARED_DIR_FUNC” /D “_SILENCE_FPOS_SEEKPOS_DEPRECATION_WARNING” /D “USE_NEW_CACHE” /D “_UNICODE” /D “UNICODE” /D “_WINDLL” /D “_DEBUG” /errorReport:prompt /WX /Zc:forScope /RTC1 /Gd /MTd /std:c++17 /FC /Fa”x64Debug” /EHsc /nologo /Fo”x64Debug” /Fp”x64DebugMyLib.pch” /diagnostics:column