Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CL_M_* constants unspecified #731

Open
kpet opened this issue Nov 30, 2021 · 0 comments
Open

CL_M_* constants unspecified #731

kpet opened this issue Nov 30, 2021 · 0 comments

Comments

@kpet
Copy link
Contributor

kpet commented Nov 30, 2021

The XML registry defines a number of math constants named CL_M_*. These are provided by cl_platform.h but are not described in any of the specifications.

kpet added a commit to kpet/OpenCL-Docs that referenced this issue Aug 9, 2023
- OpenCL 1.0 requires cl_char, etc types
- OpenCL 1.2 and cl_khr+_fp64 require cl_double
- cl_khr_fp16 requires CL_HALF_* constants
- cl_khr_icd requires cl_icd_dispatch
- OpenCL 1.0 requires all the CL_M_* constants. The specification does
  not state which version defines which constant (see KhronosGroup#731)
- cl_khr_gl_sharing requires all cl_GL* types

Signed-off-by: Kevin Petit <kevin.petit@arm.com>
Change-Id: I8eb34ab1eccf727700662ff5f61823d0e8c48ea1
kpet added a commit to kpet/OpenCL-Docs that referenced this issue Jul 10, 2024
- OpenCL 1.0 requires cl_char, etc types
- OpenCL 1.2 and cl_khr+_fp64 require cl_double
- cl_khr_fp16 requires CL_HALF_* constants
- cl_khr_icd requires cl_icd_dispatch
- OpenCL 1.0 requires all the CL_M_* constants. The specification does
  not state which version defines which constant (see KhronosGroup#731)
- cl_khr_gl_sharing requires all cl_GL* types

Signed-off-by: Kevin Petit <kevin.petit@arm.com>
Change-Id: I8eb34ab1eccf727700662ff5f61823d0e8c48ea1
kpet added a commit to kpet/OpenCL-Docs that referenced this issue Jul 11, 2024
- OpenCL 1.0 requires cl_char, etc types
- OpenCL 1.2 and cl_khr+_fp64 require cl_double
- cl_khr_fp16 requires CL_HALF_* constants
- cl_khr_icd requires cl_icd_dispatch
- OpenCL 1.0 requires all the CL_M_* constants. The specification does
  not state which version defines which constant (see KhronosGroup#731)

Signed-off-by: Kevin Petit <kevin.petit@arm.com>
Change-Id: I8eb34ab1eccf727700662ff5f61823d0e8c48ea1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant