KhronosGroup / KhronosGroup/SYCL-Docs

Device preferred and native vector width seems to be missing `long long` data type

Open
#914 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
158
Forks
80
Avg merge
7d 6h
Merged PRs (30d)
5

Description

### Specification Version

SYCL 2020 (Revision 10)

### Section Number(s)

4.6.4.4. Information descriptors

### Bug Description

Looking at [`info::device::preferred_vector_width`](https://registry.khronos.org/SYCL/specs/sycl-2020/html/sycl-2020.html#api:info-device-preferred-vector-width) and [`info::device::native_vector_width`](https://registry.khronos.org/SYCL/specs/sycl-2020/html/sycl-2020.html#api:info-device-native-vector-width), they are both defined for `char`, `short`, `int`, `long`, `float`, `double` and `half` which I assume to be a direct copy of the corresponding query in the OpenCL standard.

However, SYCL is C++, i.e. `long` may as well be `int`. `long long` is a data type that is guaranteed to be at least 64 bits long and it is missing from those device info descriptor.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with SYCL 2020 revision 10, section 4.6.4.4, and compare the preferred_vector_width and native_vector_width descriptors with the linked specification entries. Determine whether long long should be included and what wording or descriptor coverage is required; done means the specification's treatment of this type is resolved and documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
documentation
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.