At runtime, the application automatically identifies the Intel processor it is running on and intelligently selects the appropriate optimized or generic implementation. The paragraphs below describe the benefits and considerations for both modes of processor dispatch. The developer wishes to write explicit, hand optimized code for the target processor. Developer may manually optimize for multiple processor-specific implementations. One automatically generated processor-specific implementation.
Developer codes only one version of each function.
Benefits Single executable file. The application can support as many different target processors as the developer chooses. Developer can write explicit code to take advantage of processor-specific features, using vector classes, intrinsic functions and inline assembly. Single executable file. Automatic Vectorization and prefetch features for the specified processor, by compiling with the appropriate switch.