KhronosGroup / KhronosGroup/SYCL-Docs

Device selector determinism

Open
#327 3 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

The description for the device selector `aspect_selector` in Section 4.6.1.1 of the SYCL 2020 specification contains the following statement:

> If no aspects are passed in, the generated selector behaves like `default_selector`.

In designing a test for this, the following question arose: does the `default_selector` (and the `aspect_selector` without aspects) always return the same device?

Related discussion: https://github.com/KhronosGroup/SYCL-CTS/pull/83#discussion_r667940618

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading Section 4.6.1.1 of the SYCL 2020 specification and the linked discussion in SYCL-CTS pull request #83. Determine whether default_selector and aspect_selector with no aspects are required to choose the same device, then clarify the specification wording so the related test has an unambiguous expected result.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.