[SYCL] Implement runtime property to set cache size for a kernel#3417
Closed
againull wants to merge 1 commit intointel:syclfrom
Closed
[SYCL] Implement runtime property to set cache size for a kernel#3417againull wants to merge 1 commit intointel:syclfrom
againull wants to merge 1 commit intointel:syclfrom
Conversation
gmlueck
reviewed
Mar 25, 2021
| __SYCL_PARAM_TRAITS_SPEC(sycl::property::image::use_mutex) | ||
| __SYCL_PARAM_TRAITS_SPEC(sycl::property::image::context_bound) | ||
| __SYCL_PARAM_TRAITS_SPEC(sycl::ext::oneapi::property::buffer::use_pinned_host_memory) | ||
| __SYCL_PARAM_TRAITS_SPEC(sycl::INTEL::property::kernel::gpu_cache_config) |
Contributor
There was a problem hiding this comment.
I think all these SYCL::INTEL namespaces should be sycl::ext::intel instead. For example, look at the line immediately above, which has sycl::ext::oneapi.
jsji
pushed a commit
that referenced
this pull request
Nov 18, 2025
…ters (#3417) Avoid translation of pointer function arguments with `byval`/`sret` attribute as untyped pointers to preserve the information about the pointer element type. Insert `OpBitcast` to further use such pointers in the untyped pointer semantics (vise-versa bitcast instructions are explicitly allowed by the [SPV_KHR_untyped_pointers ](https://github.khronos.org/SPIRV-Registry/extensions/KHR/SPV_KHR_untyped_pointers.html) extension). This approach ensures valid reverse translation and correct OpenCL runtime behavior, especially for kernels translation. Without the fix `clSetKernelArg()` fails with `CL_INVALID_MEM_OBJECT` error. Original commit: KhronosGroup/SPIRV-LLVM-Translator@b65c96eeec4e2b3
jsji
pushed a commit
that referenced
this pull request
Dec 6, 2025
…ters (#3417) Avoid translation of pointer function arguments with `byval`/`sret` attribute as untyped pointers to preserve the information about the pointer element type. Insert `OpBitcast` to further use such pointers in the untyped pointer semantics (vise-versa bitcast instructions are explicitly allowed by the [SPV_KHR_untyped_pointers ](https://github.khronos.org/SPIRV-Registry/extensions/KHR/SPV_KHR_untyped_pointers.html) extension). This approach ensures valid reverse translation and correct OpenCL runtime behavior, especially for kernels translation. Without the fix `clSetKernelArg()` fails with `CL_INVALID_MEM_OBJECT` error. Original commit: KhronosGroup/SPIRV-LLVM-Translator@b65c96eeec4e2b3
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.
No description provided.