KhronosGroup / KhronosGroup/OpenCL-Docs

Return `CL_INVALID_VALUE` from clGet*Info commands when `param_value_size` is not 0 and `param_value` is `NULL`

Open
#1,218 1 comment 0 reactions 0 assignees View on GitHub
needs-new-opencl-major-version
Dominant language
Python
Stars
420
Forks
131
Avg merge
5d 13h
Merged PRs (30d)
11

Description

Essentially require `param_value_size` be 0 when `param_value` is `NULL`.

See #1216 and discussion in the 2024/08/06 teleconference.

Contributor guide

Open the contributing guide

Research direction

Read issue #1216 and the 2024/08/06 teleconference discussion first, then inspect the documentation for the clGet*Info commands. Update the relevant command specifications so the param_value and param_value_size condition is stated consistently, and verify that each affected command specifies CL_INVALID_VALUE.

Written by the indexing model from the issue text.

Assessment

Domain
api, documentation
Issue type
Bug
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.