Click here to Skip to main content
15,886,806 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to multiply scalars then vectors later on using Microsoft visual studio and in C++.

Essentially I copied a programme from here Using AVX instructions in matrix multiplication | Thinking and Computing[^]

I wanted to have a working model to base everything off and understand AVX better, but i come across errors reading like this:
identifier " __builtin_ia32_loadups256" is undefined.

Also on that website it have a compile with:
g++ -O3 -mavx main.cpp -o avxtest

what is this and can I do it on MVS

Thanks Matt

What I have tried:

General bits of faultfinding as i'm sure you can tell i'm still a novice when it comes to programming.
Posted
Updated 21-Jul-16 4:49am

1 solution

That is the command line command to compile your source. REad here some documentation.

In Visual Studio you have some project settings in a dialog windows which manages such stuff.
In this blog you should find some useful information.
 
Share this answer
 
Comments
Member 12645048 22-Jul-16 8:38am    
Thank you for the links and the help

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900