mysticial / featuredetector Goto Github PK
View Code? Open in Web Editor NEWWhat features does your CPU and OS support?
License: Creative Commons Zero v1.0 Universal
What features does your CPU and OS support?
License: Creative Commons Zero v1.0 Universal
Please add a licence.
https://help.github.com/articles/adding-a-license-to-a-repository/
src/x86/cpu_x86.cpp:66:42
src/x86/cpu_x86.cpp:76:38
G++ (Rev2, Built by MSYS2 project) 9.3.0
cmake version 3.17.2
built using cmake .
, cmake --build .
on Zen CPU
D:\downloads\Downloads\FeatureDetector-master>cmake .
-- The CXX compiler identification is GNU 9.3.0
-- Check for working CXX compiler: /mingw64/bin/c++.exe
-- Check for working CXX compiler: /mingw64/bin/c++.exe - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /d/downloads/Downloads/FeatureDetector-master
D:\downloads\Downloads\FeatureDetector-master>cmake --build .
[ 25%] Building CXX object src/x86/CMakeFiles/FeatureDetector.dir/cpu_x86.cpp.o
D:/downloads/Downloads/FeatureDetector-master/src/x86/cpu_x86.cpp: In static member function 'static bool FeatureDetector::cpu_x86::detect_OS_AVX()':
D:/downloads/Downloads/FeatureDetector-master/src/x86/cpu_x86.cpp:66:42: error: '_XCR_XFEATURE_ENABLED_MASK' was not declared in this scope
66 | uint64_t xcrFeatureMask = xgetbv(_XCR_XFEATURE_ENABLED_MASK);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/downloads/Downloads/FeatureDetector-master/src/x86/cpu_x86.cpp: In static member function 'static bool FeatureDetector::cpu_x86::detect_OS_AVX512()':
D:/downloads/Downloads/FeatureDetector-master/src/x86/cpu_x86.cpp:76:38: error: '_XCR_XFEATURE_ENABLED_MASK' was not declared in this scope
76 | uint64_t xcrFeatureMask = xgetbv(_XCR_XFEATURE_ENABLED_MASK);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
gmake[2]: *** [src/x86/CMakeFiles/FeatureDetector.dir/build.make:83: src/x86/CMakeFiles/FeatureDetector.dir/cpu_x86.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:143: src/x86/CMakeFiles/FeatureDetector.dir/all] Error 2
gmake: *** [Makefile:104: all] Error 2
D:\downloads\Downloads\FeatureDetector-master>
HI!
I was wondering how does one compile/run the feature detector?
Hi there, it would be nice if we could add support for AVX2 as well, unless it's there and I missed it? Thanks!
The function signature for cpuid() does not match between cpu_x86.cpp and cpu_x86.h.
TensorFlow has a nice feature where it warns you if a feature set is available but not compiled for. It would be relatively trivial, I believe, to add a method that checks the defines (For example), and then gives a list of warnings for un-optimized code.
Something like:
Warning: hardware supports AVX512 but not enabled in compilation
Please include a CMakeLists.txt file, preferably for a version of CMake > 3.4. Then it would be easy to include this project in another project. See https://github.com/GooFit/Minuit2/blob/master/CMakeLists.txt for an example of a simple CMakeLists. It could live besides SCONS.
Nice, please help me out how to work c# project please convert.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.