Skip to content

[SYCL] Fix spec constants when device split is enabled#3747

Closed
alexbatashev wants to merge 1 commit into
intel:syclfrom
alexbatashev:fix_spec_const_device_split
Closed

[SYCL] Fix spec constants when device split is enabled#3747
alexbatashev wants to merge 1 commit into
intel:syclfrom
alexbatashev:fix_spec_const_device_split

Conversation

@alexbatashev
Copy link
Copy Markdown
Contributor

SYCL tooling performs specialization constants extraction before code
split. As a result, device image may contain properties, that describe
spec constants not present in device image. Do not advertise default
values as set to avoid incorrect API calls.

SYCL tooling performs specialization constants extraction before code
split. As a result, device image may contain properties, that describe
spec constants not present in device image. Do not advertise default
values as set to avoid incorrect API calls.
@alexbatashev alexbatashev deleted the fix_spec_const_device_split branch July 28, 2021 06:45
jsji pushed a commit that referenced this pull request May 14, 2026
NonSemantic.Shader.DebugInfo.100/.200 require the Source operand of
DebugLine to reference a DebugSource instruction, not a raw OpString ID
(DIFile in LLVM IR).
Use getSource() to emit a proper DebugSource reference.

Enable spirv-val on the NonSemantic paths of DebugInfoTypeBasic.ll and
InlineNamespace.ll now that all previous spec-compliance fixes are in
place.

AI-assisted: Claude Sonnet 4.6 (commercial SaaS)

Original commit:
KhronosGroup/SPIRV-LLVM-Translator@38a315ed3cc0d91
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