KhronosGroup / KhronosGroup/OpenCL-Docs

Clarification regarding reserved datatypes in OpenCL

Open
#1,314 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
420
Forks
131
Avg merge
5d 13h
Merged PRs (30d)
11

Description

The OpenCL spec describes reserved datatypes here:
[https://registry.khronos.org/OpenCL/specs/3.0-unified/html/OpenCL_C.html#reserved-data-types](url)

It is mentioned in the spec that the data type names described in the table are reserved and **cannot be used by applications as type names**.

I was trying to understand what is meant by "cannot be used by applications as type names"

Does this necessitate that these datatypes cannot be used in a kernel and compilation of such kernels leads to an error?

Contributor guide

Open the contributing guide

Research direction

Start with the reserved data types section of the OpenCL C specification linked in the issue, and compare its wording with the surrounding type-name rules. Determine whether the statement describes kernel compilation behavior or application naming restrictions. Done means the specification's interpretation is clearly documented or clarified in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.