Repository navigation
[MAINT] Add Windows OS compiler workflow - #2419
Open
ndgrigorian wants to merge 4 commits into
Open
ndgrigorian wants to merge 4 commits into
ndgrigorian wants to merge 4 commits into
Conversation
|
View rendered docs @ https://intelpython.github.io/dpctl/pulls/2419/index.html |
Collaborator
ndgrigorian
marked this pull request as ready for review
November 4, 2026 23:58
ndgrigorian
requested review from
antonwolfy and
vlad-perevezentsev
as code owners
November 4, 2026 23:58
Build and test dpctl with the intel/llvm nightly clang-cl on Windows. Pin the Windows oclcpuexp next to the Linux one and bump both together.
CMake calls the linker directly for clang-cl, dropping -fsycl at link time. Use /W3 for clang-cl, which reads -Wall as -Weverything, and pass /DynamicBase through LINKER: too. Disable IPO in the Windows OS compiler job.
The ICD loader ignores OCL_ICD_FILENAMES in elevated processes, so no platforms were found. Fail the job when sycl-ls finds no OpenCL CPU device.
ndgrigorian
force-pushed
the
add-windows-os-compiler-workflow
branch
from
November 5, 2026 17:31
10deb35 to
7ddd835
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR proposes the addition of an experimental workflow building and testing dpctl on Windows with the intel/llvm nightly
clang-cl, using the Windows OpenCL CPU runtime from the sameDRIVER_PATHrelease as the Linux workflowThe CPU runtime is registered through
OCL_ICD_FILENAMESrather thaninstall.bat, and the DPC++ runtime is found through<venv>\Library\bin, linked to the nightly'sbin. The nightly is not cached, as it is 1.8 GB extractedThe Windows oclcpuexp is pinned in
.github/sycl-build-deps.envasWIN_OCLCPUEXP_FN, andbump-sycl-deps.ymlnow bumps it together with the Linux pins