diff options
Diffstat (limited to 'tensorflow/core/platform/windows/cpu_info.h')
-rw-r--r-- | tensorflow/core/platform/windows/cpu_info.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tensorflow/core/platform/windows/cpu_info.h b/tensorflow/core/platform/windows/cpu_info.h index 77a1946e61..d6e78dbc8f 100644 --- a/tensorflow/core/platform/windows/cpu_info.h +++ b/tensorflow/core/platform/windows/cpu_info.h @@ -16,6 +16,9 @@ limitations under the License. #ifndef TENSORFLOW_PLATFORM_WINDOWS_CPU_INFO_H_ #define TENSORFLOW_PLATFORM_WINDOWS_CPU_INFO_H_ +// included so __cpuidex function is available for GETCPUID on Windows +#include <intrin.h> + // Byte order defines provided by gcc. MSVC doesn't define those so // we define them here. // We assume that all windows platform out there are little endian. |