Comments (4)
Please try to specify -std=c++17 and a suitable instruction set on the compiler command line
from version2.
Hi,
Yes, I use c++17. My command line is :
g++ -std=c++17 -DINSTRSET=7 "-Ivectorclass" -O3 -Wall -c -fmessage-length=0 -mavx -o "vectorclass\instrset_detect.o" "..\vectorclass\instrset_detect.cpp"
g++ -std=c++17 -DINSTRSET=7 "-Ivectorclass" -O3 -Wall -c -fmessage-length=0 -mavx -o main.o "..\main.cpp"
Maybe it is a problem of the Eclipse IDE interface. I rebuild the Index several times but warning messages still come back.
Regards,
Lionel
I complete my message :
I have the warning "'Vec8ib' is ambiguous ' because he found Vec8ib in vectori256.h and vectori256e.h. Maybe I should suppress vectori256e.h or vectori256.h ?
Ok, I suppress vectori256.h. Now I have only warning like this one :
Member 'ymm' was not initialized in this constructor vectorf256.h
and idem for y1, y0 in vectorf256e.h
from version2.
Don't include all the .h files. Include only vectorclass.h. The necessary header files will then be included automatically.
You can ignore the warning that ymm is not initialized.
from version2.
Ok thanks, that is only a problem with Eclipse IDE when I open some header files. He don't care about preprocessor directive.
But I have another problem.
I try vector3d add-on. I run the testbench_vector3d file. The testcase number 15 (rotate) crashes randomly with Vec3Dd (no crash with Vec3Df). My processor level is 7 (have AVX).
Testcase number 10 not compile (sorry it is normal, this case is not allowed).
Note : problem is maybe that MAX_VECTOR_SIZE is redefined to 512 in the file and I have defined to 256 in preprocessor settings.
from version2.
Related Issues (20)
- [hint] sse2neon HOT 1
- ...
- request to add horizontal_min/max without propagate NAN HOT 1
- blend16 clang jit HOT 5
- 64bit*64bit will be overflow HOT 4
- Any interest in using a build system ? HOT 2
- Vec4f SSE2 round returning incorrect values HOT 1
- Error when selecting betwen boolean vectors HOT 2
- nmul_sub and runtime gather functions HOT 2
- Issue with fmodulo on single precision with FMA/AVX2 (MSVS) HOT 2
- License terms HOT 1
- Problem with optimization HOT 10
- vs2022 compilation error HOT 2
- Is better gather support possible? HOT 2
- Proposal - add CMake / Colcon support HOT 1
- Missing "static inline" on some half-precision functions HOT 1
- gcc13 warnings HOT 13
- Save 2 instructions in vec32cb &load_bits(uint32_t) & co.
- Different set of instructions for non AV512 `extract` method for `Vec4f` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from version2.