Skip to content

Conversation

@UniQP
Copy link
Contributor

@UniQP UniQP commented Aug 31, 2023

The commit removes all uses of ICC's __INTEL_COMPILER macro and other references to ICC. It also adds ICX info to the compiler command and fixes two typos in Makefile's help output.

No functional change

The commit removes all uses of ICC's __INTEL_COMPILER macro and other
references to ICC. It also adds ICX info to the compiler command and
fixes two typos in Makefile's help output.

No functional change
@UniQP
Copy link
Contributor Author

UniQP commented Aug 31, 2023

@maximmasiutin I would appreciate if you can perform a quick test with ICX.

@maximmasiutin
Copy link
Contributor

I no longer have a machine where I tested the ICX, cannot test now :-(

@vondele
Copy link
Member

vondele commented Sep 4, 2023

make -j ARCH=x86-64-avx2 profile-build COMP=icx

works for me (after downloading and installing icx from https://www.intel.com/content/www/us/en/developer/tools/oneapi/toolkits.html#base-kit)

$ ./stockfish compiler
Stockfish dev-20230831-b095db8a by the Stockfish developers (see AUTHORS file)

Compiled by ICX 20230200 on Linux
Compilation settings include:  64bit AVX2 SSE41 SSSE3 SSE2 POPCNT
__VERSION__ macro expands to: Intel(R) oneAPI DPC++/C++ Compiler 2023.2.0 (2023.2.0.20230721)

@maximmasiutin
Copy link
Contributor

Thank you!

@snicolet
Copy link
Member

snicolet commented Sep 4, 2023

I am fine with the patch.

If I remember correctly, ICC support was added by Marco back in the days but obviously not tested for years. The only complain we might have with the patch is with somebody with a vintage machine unable to install gcc, but that’s very unlikely.

@Disservin Disservin added the to be merged Will be merged shortly label Sep 11, 2023
@Disservin Disservin closed this in b9319c4 Sep 11, 2023
@UniQP UniQP deleted the icc-cleanup branch September 11, 2023 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants