1/* Copyright 2016 The TensorFlow Authors. All Rights Reserved.
2
3Licensed under the Apache License, Version 2.0 (the "License");
4you may not use this file except in compliance with the License.
5You may obtain a copy of the License at
6
7 http://www.apache.org/licenses/LICENSE-2.0
8
9Unless required by applicable law or agreed to in writing, software
10distributed under the License is distributed on an "AS IS" BASIS,
11WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12See the License for the specific language governing permissions and
13limitations under the License.
14==============================================================================*/
15
16#ifndef TENSORFLOW_CORE_PLATFORM_CPU_INFO_H_
17#define TENSORFLOW_CORE_PLATFORM_CPU_INFO_H_
18
19#include <string>
20
21// TODO(ahentz): This is not strictly required here but, for historical
22// reasons, many people depend on cpu_info.h in order to use kLittleEndian.
23#include "tensorflow/core/platform/byte_order.h"
24#include "tensorflow/tsl/platform/cpu_info.h"
25
26namespace tensorflow {
27namespace port {
28using tsl::port::ADX;
29using tsl::port::AES;
30using tsl::port::AMX_BF16;
31using tsl::port::AMX_INT8;
32using tsl::port::AMX_TILE;
33using tsl::port::AVX;
34using tsl::port::AVX2;
35using tsl::port::AVX512_4FMAPS;
36using tsl::port::AVX512_4VNNIW;
37using tsl::port::AVX512_BF16;
38using tsl::port::AVX512_VNNI;
39using tsl::port::AVX512BW;
40using tsl::port::AVX512CD;
41using tsl::port::AVX512DQ;
42using tsl::port::AVX512ER;
43using tsl::port::AVX512F;
44using tsl::port::AVX512IFMA;
45using tsl::port::AVX512PF;
46using tsl::port::AVX512VBMI;
47using tsl::port::AVX512VL;
48using tsl::port::AVX_VNNI;
49using tsl::port::BMI1;
50using tsl::port::BMI2;
51using tsl::port::CMOV;
52using tsl::port::CMPXCHG16B;
53using tsl::port::CMPXCHG8B;
54using tsl::port::CPUFamily;
55using tsl::port::CPUFeature;
56using tsl::port::CPUIDNumSMT;
57using tsl::port::CPUModelNum;
58using tsl::port::CPUVendorIDString;
59using tsl::port::F16C;
60using tsl::port::FMA;
61using tsl::port::GetCurrentCPU;
62using tsl::port::HYPERVISOR;
63using tsl::port::kUnknownCPU;
64using tsl::port::MaxParallelism;
65using tsl::port::MMX;
66using tsl::port::NominalCPUFrequency;
67using tsl::port::NumHyperthreadsPerCore;
68using tsl::port::NumSchedulableCPUs;
69using tsl::port::NumTotalCPUs;
70using tsl::port::PCLMULQDQ;
71using tsl::port::POPCNT;
72using tsl::port::PREFETCHW;
73using tsl::port::PREFETCHWT1;
74using tsl::port::RDRAND;
75using tsl::port::RDSEED;
76using tsl::port::SMAP;
77using tsl::port::SSE;
78using tsl::port::SSE2;
79using tsl::port::SSE3;
80using tsl::port::SSE4_1;
81using tsl::port::SSE4_2;
82using tsl::port::SSSE3;
83using tsl::port::TestCPUFeature;
84
85} // namespace port
86} // namespace tensorflow
87
88#endif // TENSORFLOW_CORE_PLATFORM_CPU_INFO_H_
89