mirror of
https://github.com/google/cpu_features.git
synced 2025-04-28 15:33:37 +02:00

* Add documentation * Add .dockerignore: minimize docker context size to improve speed * Add Makefile: to easily run various docker stages * Add a CMake sample project to check CMake install rules
12 lines
221 B
C++
12 lines
221 B
C++
#include <iostream>
|
|
|
|
#include "cpuinfo_x86.h"
|
|
|
|
using namespace cpu_features;
|
|
|
|
int main(int /*argc*/, char** /*argv*/) {
|
|
static const X86Features features = GetX86Info().features;
|
|
std::cout << std::endl;
|
|
return 0;
|
|
}
|