Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,736 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
when I compile Tensorflow lib without setting AVX2 option, when the lib is called in visual studio 2019, it prompts following information
2022-04-29 22:10:00.005405: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
So I want to disable AVX2 optimization in visual studio 2019, where to disable the AVX2 in vs2019?
Go to the Project Properties dialog, select the configuration and platform, and see this option: C/C++, Code Generation, Enable Enhanced Instruction Set.