Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

[SYCL] Change ESIMD/aot_mixed.cpp to AOT-compile for all devices #1256

Closed
wants to merge 2 commits into from

Conversation

aelovikov-intel
Copy link

This should fix the CI fails on it.

@aelovikov-intel aelovikov-intel requested a review from a team as a code owner September 13, 2022 00:28
Copy link

@v-klochkov v-klochkov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not see '-device *' in the list of options of 'ocloc'.
@vmustya suggested using "device gen9:" (see ":" symbol after 9), which means "gen9 and newer".

@aelovikov-intel
Copy link
Author

I couldn't find any documentation for it at all. That said:

$ ocloc -file a.cl -device '*'
Build succeeded for : bdw.
Build succeeded for : skl.
Build succeeded for : kbl.
Build succeeded for : cfl.
Build succeeded for : apl.
Build succeeded for : glk.
Build succeeded for : whl.
Build succeeded for : aml.
Build succeeded for : cml.
Build succeeded for : icllp.
Build succeeded for : lkf.
Build succeeded for : ehl.
Build succeeded for : tgllp.
Build succeeded for : rkl.
Build succeeded for : adl-s.
Build succeeded for : adl-p.
Build succeeded for : adl-n.
Build succeeded for : dg1.
Build succeeded for : acm-g10.
Build succeeded for : acm-g11.
Build succeeded for : acm-g12.
Build succeeded for : pvc-sdv.
Build succeeded for : pvc.

From https://www.phoronix.com/news/Intel-Compute-20.07.15711:

There is also -device * now supported if wanting to compile all hardware targets supported by the Intel compiler.

I'm sure I had found the proper docs in the past, but it seems impossible now...

@v-klochkov
Copy link

'device *' doesn't work accordingly to our CI: http://icl-jenkins.sc.intel.com:8080/blue/organizations/jenkins/LLVM-Test-Suite-CI-TMP%2FLLVM-Test-Suite-CI-Linux/detail/LLVM-Test-Suite-CI-Linux/3241/pipeline
The test fails at ocloc compilation " LLVM ERROR: vc::translateBuild: unsupported platform"

Please try "-device gen9:"

@pvchupin pvchupin requested a review from v-klochkov September 13, 2022 19:43
myler pushed a commit to myler/llvm-test-suite that referenced this pull request Mar 22, 2023
[SYCL] Modify test for changing namespace for intel device info extensions (intel#1178)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants