- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am trying to port a project from using ICC to using ICX. I am having trouble to translate option -axSSE2:
$ /apps/l_dpcpp-cpp-compiler_p_2023.0.0.25393/compiler/2023.0.0/linux/bin/icx -c -o function.o -axSSE2 function.c
error: unknown target CPU 'SSE2'
note: valid target CPU values are: nocona, core2, penryn, bonnell, atom, silvermont, slm, goldmont, goldmont-plus, tremont, gracemont, nehalem, corei7, westmere, sandybridge, corei7-avx, ivybridge, core-avx-i, haswell, core-avx2, broadwell, common-avx512, skylake, skylake-avx512, skx, cascadelake, cooperlake, cannonlake, icelake-client, rocketlake, icelake-server, tigerlake, sapphirerapids, alderlake, knl, knm, k8, athlon64, athlon-fx, opteron, k8-sse3, athlon64-sse3, opteron-sse3, amdfam10, barcelona, btver1, btver2, bdver1, bdver2, bdver3, bdver4, znver1, znver2, znver3, x86-64, x86-64-v2, x86-64-v3, x86-64-v4
1 error generated.
According to the documentation this option is implemented in ICX and SSE2 is a valid value.
I found this related question but it seems outdated since back then the -ax did not seem to be implemented at all.
So what should I use instead of -axSSE2 to get the same behavior for ICX? I am having the same problem with -xSSE. What should I use here?
Thank you,
Daniel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for providing the details.
Could you please try the latest version (2023.1.0) of the ICX compiler with SSE3 as SSE2 support is not supported?
We have tried with the latest version(2023.1.0) using the SSE3 flag and did not observe any issues.
Please refer to the below link for more details:
Please refer to the below screenshot for more details:
You can get the latest version of the compiler by downloading oneAPI Base/HPC Toolkit.
Please refer to the below link to download the oneAPI Base/HPC Toolkit:
https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html
https://www.intel.com/content/www/us/en/developer/tools/oneapi/hpc-toolkit-download.html
Thanks & Regards,
Noorjahan.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for posting in Intel Communities.
Could you please try with the "-axSSE3" flag as it may generate Intel® SSE3, SSE2, and SSE instructions for Intel® processors?
We also tried with -axSSE3 at our end and did not observe any errors.
Please refer to the below screenshot for more details:
Hope this helps to resolve your issue if not please provide us with a sample reproducer.
Thanks & Regards,
Noorjahan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Using SSE3 does work but it is not an option: we only want to target SSE2. Additionally, SSE3 is not even in the list of valid options provided in the error message, so I guess this is going to cease working soon.
Anyway, we can only allow SSE2. Here is how you can reproduce the error:
$ echo 'void function(void) {}' | /apps/l_dpcpp-cpp-compiler_p_2023.0.0.25393/compiler/2023.0.0/linux/bin/icx -c -o function.o -axSSE2 -x c -
error: unknown target CPU 'SSE2'
note: valid target CPU values are: nocona, core2, penryn, bonnell, atom, silvermont, slm, goldmont, goldmont-plus, tremont, gracemont, nehalem, corei7, westmere, sandybridge, corei7-avx, ivybridge, core-avx-i, haswell, core-avx2, broadwell, common-avx512, skylake, skylake-avx512, skx, cascadelake, cooperlake, cannonlake, icelake-client, rocketlake, icelake-server, tigerlake, sapphirerapids, alderlake, knl, knm, k8, athlon64, athlon-fx, opteron, k8-sse3, athlon64-sse3, opteron-sse3, amdfam10, barcelona, btver1, btver2, bdver1, bdver2, bdver3, bdver4, znver1, znver2, znver3, x86-64, x86-64-v2, x86-64-v3, x86-64-v4
1 error generated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for providing the details.
Could you please try the latest version (2023.1.0) of the ICX compiler with SSE3 as SSE2 support is not supported?
We have tried with the latest version(2023.1.0) using the SSE3 flag and did not observe any issues.
Please refer to the below link for more details:
Please refer to the below screenshot for more details:
You can get the latest version of the compiler by downloading oneAPI Base/HPC Toolkit.
Please refer to the below link to download the oneAPI Base/HPC Toolkit:
https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html
https://www.intel.com/content/www/us/en/developer/tools/oneapi/hpc-toolkit-download.html
Thanks & Regards,
Noorjahan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Enabling SSE3 is not an option for us. If the SSE2 option is no longer supported, we will just drop that. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for accepting our solution.
As this issue has been resolved, we will no longer respond to this thread. If you need any additional information, please submit a new question
Thanks & Regards,
Noorjahan.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page