- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When setting "Enable Enhanced Instruction Set" to "AVX2" I get this error:
ignoring invalid /arch: argument 'CORE-AVX2'; for 64-bit expected one of AVX, AVX2, AVX512, AVX512F [-Wunused-command-line-argument]
So this probably should be "/arch:AVX2" rather than "/arch:CORE-AVX2", but the correct value is not available!
Please provide hotfix for this bug, because I need to build with AVX2. Thanks you!
Regards.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting in Intel Communities.
The issue raised by you is reproducible from our end, thanks for bringing this to our notice. We are working on this issue internally, we will get back to you soon.
Best Regards,
Madhu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We have reported this issue to the concerned development team. They are looking into your issue.
Best Regards,
Madhu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
As a workaround, you can use /arch:AVX2 option by following the below steps and as shown in the screenshot.
In Visual Studio -> Project -> Properties -> Configuration Properties -> C/C++ -> Command Line -> in Additional Options add /arch:AVX2 -> Apply -> OK
Thanks & regards,
Madhu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This problem still persists in oneAPI DPC++ compiler 2022.1.3.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for your patience.
The issue raised by you is fixed in oneAPI 2022.2, compiler version 2022.1. We suggest you upgrade to the latest version of oneAPI and try the same.
A quick check from our end shows that there is no such warning emitted when using /arch:CORE-AVX2 option with icx/dpcpp compiler.
Here is the screenshot of the compilation from the Intel command prompt
Please do let us know if it helps in resolving the issue so that we can close this thread from our end.
Regards,
Vidya.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
As we haven't heard back from you, we are closing this thread assuming that your issue is resolved. Please post a new question if you need any additional assistance from Intel as this thread will no longer be monitored.
Regards,
Vidya.
![](/skins/images/B7BA37F9CE4B52FF7CAE1FB0388839C8/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page