- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We had asked our original question in this post.
We have compiled with /QxAVX but it looks like this option limits runtime to Intel based CPUs. We want the ability for our product to run on AMD chipsets as well. After reading the developer guide reference (and re-reading Steve's response), it seems that we should have used /QaxAVX. Would the following compiler flags be a better solution for cross platform support:
/QaxAVX /archAVX
I read the options as doing the following:
- /QaxAVX generates specific paths for Intel based processors to use for performance benefit.
- /archAVX then provides a separate path as a baseline for other CPUs to follow. This allows AMD chipsets to run the product, just not with the specific performance benefits that Intel chipsets would gain from /Qax.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That is the correct set of options for your scenario.
Keep in mind that these are suggestions to the compiler, as in "you may use AVX". The compiler may choose 128bit vector SSE4.x or something if it thinks it is more efficient. For AVX in most cases it does honor your request, as there is almost always an advantage to use AVX over SSExyz
You can also add more paths for Intel processors such as
/QaCORE-AVX2,AVX /archAVX
so on Intel, they choose either AVX2 or AVX, else non-Intel use AVX
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That is the correct set of options for your scenario.
Keep in mind that these are suggestions to the compiler, as in "you may use AVX". The compiler may choose 128bit vector SSE4.x or something if it thinks it is more efficient. For AVX in most cases it does honor your request, as there is almost always an advantage to use AVX over SSExyz
You can also add more paths for Intel processors such as
/QaCORE-AVX2,AVX /archAVX
so on Intel, they choose either AVX2 or AVX, else non-Intel use AVX

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page