Intel

Intel ® Software Network

Intel Software TV

Parallel Building Blocks Video 7 - declspec(vector)

  • August 25, 2011
  • Noah Clemons (Intel)
  • Download

I explain the usage of declspec vector for vectorizing user-defined scalar functions.

Expand Description Collapse Description
What are your options for some fast vectorization if the function you need to use doesn’t really fall within a commonly-used parallel pattern or just isn’t in the User’s Guide? You can teach the compiler to convert your scalar function to vector when you use Array Notation arguments instead of your conventional C++ data structures.

You just need to instruct the compiler to convert your function to vector, when called with array notation arguments, with __declspec(vector).

Leave a Comment

To obtain technical support, please go to Software Support

Date Added | Popularity