Skip to content

[SYCL] VS2026 support#21990

Draft
cperkinsintel wants to merge 7 commits into
intel:syclfrom
cperkinsintel:cperkins-vs2026-support
Draft

[SYCL] VS2026 support#21990
cperkinsintel wants to merge 7 commits into
intel:syclfrom
cperkinsintel:cperkins-vs2026-support

Conversation

@cperkinsintel
Copy link
Copy Markdown
Contributor

The VS2026 STL headers use __isa_available (a runtime global variable) to detect CPU features. SYCL device code can't access host runtime globals, and that leads to failures. ( "SYCL kernel cannot use a non-const global variable." ) But we can define it easily and then things move forward.

But once we are moving forward again, we encounter a second issue, the feature map is empty. The solution here is to just init the feature map like we already do in SPIRV64AMDGCNTargetInfo::initFeatureMap .

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.

1 participant