Skip to content

[Driver][SYCL] Pass arl_h to ocloc for intel_gpu_arl_h - #23633

Merged
sarnex merged 1 commit into
intel:syclfrom
wenju-he:sycl-aot-arl-h-ocloc-device
Oct 27, 2026
Merged

sarnex merged 1 commit into
intel:syclfrom
wenju-he:sycl-aot-arl-h-ocloc-device

Conversation

@wenju-he

@wenju-he wenju-he commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

The driver translated intel_gpu_arl_h / intel_gpu_12_74_4 to "-device xe_lpgplus_b0" (since f51e43b), which ocloc does not know (it has arl-h, arl-h-b0 and 12.74.4). ocloc 101.9150 fails with "Could not determine device target: xe_lpgplus_b0".

Exposed now because AOT tests moved from spir64_gen -device arl-h, which bypassed this translation, to intel_gpu_ (#23441). The lit test only checks -### output, so it never ran ocloc on the name. Only ARL-H hits it: intel_gpu_bmg builds with the same ocloc, as do intel_gpu_arl_s,intel_gpu_arl_u.

Pass arl_h instead (ocloc accepts '_' or '-'). Verified with ocloc 101.9150: intel_gpu_arl_h builds aot.cpp.

Fix CMPLRLLVM-79001.

The driver translated intel_gpu_arl_h / intel_gpu_12_74_4 to
"-device xe_lpgplus_b0" (since f51e43b), which ocloc does not know
(it has arl-h, arl-h-b0 and 12.74.4). ocloc 101.9150 fails with "Could
not determine device target: xe_lpgplus_b0".

Exposed now because AOT tests moved from spir64_gen -device arl-h,
which bypassed this translation, to intel_gpu_<arch> (intel#23441). The
lit test only checks -### output, so it never ran ocloc on the name.
Only ARL-H hits it: intel_gpu_bmg builds with the same ocloc, as do
intel_gpu_arl_s,intel_gpu_arl_u.

Pass arl_h instead (ocloc accepts '_' or '-'). Verified with ocloc
101.9150: intel_gpu_arl_h builds aot.cpp.

CMPLRLLVM-79001

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@wenju-he
wenju-he requested a review from a team as a code owner October 26, 2026 23:57
@wenju-he

Copy link
Copy Markdown
Contributor Author

@intel/llvm-gatekeepers please merge, thanks

@sarnex
sarnex merged commit 62c58ee into intel:sycl Oct 27, 2026
31 checks passed
@wenju-he
wenju-he deleted the sycl-aot-arl-h-ocloc-device branch October 28, 2026 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants