(here's part 1 in case you missed it)
Let's take a really, really simple program. It just adds one array of things to another. This should be a SIMD slam dunk! I will call this program
Let's take a really, really simple program. It just adds one array of things to another. This should be a SIMD slam dunk! I will call this program
blah.cpp
#include #define PTS 1000 int main() { float x[PTS]; float y[PTS]; for (int i = 0; i < PTS; i++) { x[i] = 0.0f; // set up some data