title: How to compile Tensor Flow with SSE and AVX instructions on Windows?
body: <p>With the latest version of Tensor Flow now on windows, I am trying to get everything working as efficiently as possible. However, even when compiling from source, I still can't seem to figure out how to enable the SSE and AVX instructions.</p>
  <p>The default process:
  <a href="https://github.com/tensorflow/tensorflow/tree/r0.12/tensorflow/contrib/cmake" rel="nofollow noreferrer">https://github.com/tensorflow/tensorflow/tree/r0.12/tensorflow/contrib/cmake</a>
  has no mention of how to do this.</p>
  <p>The only reference I have found has been using Google's Bazel:
  <a href="https://stackoverflow.com/questions/41293077/how-to-compile-tensorflow-with-sse4-2-and-avx-instructions">How to compile Tensorflow with SSE4.2 and AVX instructions?</a></p>
  <p>Does anyone know of an easy way to turn on these advanced instructions using MSBuild? I hear they give at least a 3X speed up.</p>
  <p>To help those looking for a similar solution, this is the warning I am currently getting looks like this:
  <a href="https://github.com/tensorflow/tensorflow/tree/r0.12/tensorflow/contrib/cmake" rel="nofollow noreferrer">https://github.com/tensorflow/tensorflow/tree/r0.12/tensorflow/contrib/cmake</a></p>
  <p>I am using Windows 10 Professional on a 64 bit platform, Visual Studio 2015 Community Edition, Anaconda Python 3.6 with cmake version 3.6.3 (later versions don't work for Tensor Flow)</p>