KhronosGroup / KhronosGroup/SYCL-Docs

`kernel_handler` is underspecified

Open
#469 2 comments 0 reactions 0 assignees View on GitHub
clarification
Dominant language
JavaScript
Stars
158
Forks
80
Avg merge
7d 6h
Merged PRs (30d)
5

Description

[4.9.5.3. Reading the value of a specialization constant from device code](https://registry.khronos.org/SYCL/specs/sycl-2020/html/sycl-2020.html#sec:spec-constants.device-code) provides a synopsis of `kernel_handler` class, but there are a few details which are missing, like:
- it it allowed for a user to manually construct such an object and pass it around?
- examples suggest that it is at least copy-constructible, but there is no explicit guarantee for that; can it be copy-assigned, for example?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with section 4.9.5.3, “Reading the value of a specialization constant from device code,” in the linked SYCL 2020 specification. Review the kernel_handler synopsis and the issue's questions about manual construction, copying, and assignment. Done means the specification explicitly resolves those object-semantics questions.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.