Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 698012
Collapse All | Expand All

(-)a/tensorflow/lite/experimental/ruy/platform.h (-5 / +5 lines)
Lines 53-64 Link Here
53
// compilation.
53
// compilation.
54
//
54
//
55
// TODO(b/138433137) Select AVX-512 at runtime rather than via compile options.
55
// TODO(b/138433137) Select AVX-512 at runtime rather than via compile options.
56
#if defined(__AVX512F__) && defined(__AVX512DQ__) && defined(__AVX512CD__) && \
56
//#if defined(__AVX512F__) && defined(__AVX512DQ__) && defined(__AVX512CD__) && \
57
    defined(__AVX512BW__) && defined(__AVX512VL__)
57
//    defined(__AVX512BW__) && defined(__AVX512VL__)
58
#define RUY_DONOTUSEDIRECTLY_AVX512 1
58
//#define RUY_DONOTUSEDIRECTLY_AVX512 1
59
#else
59
//#else
60
#define RUY_DONOTUSEDIRECTLY_AVX512 0
60
#define RUY_DONOTUSEDIRECTLY_AVX512 0
61
#endif
61
//#endif
62
62
63
// Detect APPLE
63
// Detect APPLE
64
#ifdef __APPLE__
64
#ifdef __APPLE__

Return to bug 698012