Skip to content

Instantly share code, notes, and snippets.

@sub-mod
Last active May 13, 2020 03:12
Show Gist options
  • Save sub-mod/7137f7bf7a0b18a4c217a85a49f3c2df to your computer and use it in GitHub Desktop.
Save sub-mod/7137f7bf7a0b18a4c217a85a49f3c2df to your computer and use it in GitHub Desktop.
ruy.patch
diff --git a/tensorflow/lite/experimental/ruy/platform.h b/tensorflow/lite/experimental/ruy/platform.h
index 7a83173..36aaa95 100644
--- a/tensorflow/lite/experimental/ruy/platform.h
+++ b/tensorflow/lite/experimental/ruy/platform.h
@@ -55,7 +55,7 @@ limitations under the License.
// TODO(b/138433137) Select AVX-512 at runtime rather than via compile options.
#if defined(__AVX512F__) && defined(__AVX512DQ__) && defined(__AVX512CD__) && \
defined(__AVX512BW__) && defined(__AVX512VL__)
-#define RUY_DONOTUSEDIRECTLY_AVX512 1
+#define RUY_DONOTUSEDIRECTLY_AVX512 0
#else
#define RUY_DONOTUSEDIRECTLY_AVX512 0
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment