Skip to content

Instantly share code, notes, and snippets.

@AlexJoz
Created March 23, 2017 09:42
Show Gist options
  • Save AlexJoz/f6c3599421db57dbb6b1dbf96a4c045c to your computer and use it in GitHub Desktop.
Save AlexJoz/f6c3599421db57dbb6b1dbf96a4c045c to your computer and use it in GitHub Desktop.
compile tensorflow with sse3, sse4.1\2, avx, cuda support
bazel build -c opt --copt=-mavx --copt=-mavx2 --copt=-mfma --copt=-mfpmath=both --copt=-msse4.2 --config=cuda -k //tensorflow/tools/pip_package:build_pip_package
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment