Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Best practice for multi-CPU

Andrew_Smith
Valued Contributor I
658 Views

We distribute one set of exe's to run on all our customers CPU's. There will be a mix of Intel and AMD. We currently compile to a baseline SSE3 and additional AVX code path as both should run on both types of CPU new or old.

Is this the best we can do ? Its difficult to tell from your description of the additional code path options which are going to work for AMD

0 Kudos
1 Solution
Steve_Lionel
Honored Contributor III
636 Views

I assume you know that if you use the Ax option for auto-dispatch that the baseline instruction set is used for any non-Intel CPU. I think the choice you made is reasonable and it's not likely to be able to be improved much.

View solution in original post

2 Replies
Steve_Lionel
Honored Contributor III
637 Views

I assume you know that if you use the Ax option for auto-dispatch that the baseline instruction set is used for any non-Intel CPU. I think the choice you made is reasonable and it's not likely to be able to be improved much.

Andrew_Smith
Valued Contributor I
630 Views

I did not know about the auto-dispatch not working for non-Intel. That might mean a bigger disparity than we believed. 
It does allow me to up the level for the auto-dispatch since we no longer need to consider non-Intel.

0 Kudos
Reply