Tistory View

MS Windows

How to enable openmp in Visual Studio(C/C++)

What should I do? 2021. 12. 20. 05:33

[Your Project] Properties Window

How to enable OpenMP in visual studio

Menu[Project] -> [Your Project] Properties -> You can see above Window

1. Configuration Properties -> 2. C/C++ -> 3. Language -> 4. Open MP Support -> 5. [Yes(/openmp)]

 

 

References

https://docs.microsoft.com/en-us/cpp/parallel/openmp/openmp-in-visual-cpp?view=msvc-170 

See this reference to take current status of openmp support and confliction with other compile flags

Replies
Reply Write