KhronosGroup / KhronosGroup/OpenCL-Layers

Parameter verification layer blocks clGetDeviceIDs(CL_DEVICE_TYPE_ALL)

Open
#17 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
13
Forks
13
PR merge metrics
No merged PRs in 30d

Description

That value is explicitly allowed for `clGetDeviceIDs` and `clCreateContextFromType`. The error message is not very helpful either.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the parameter verification logic for clGetDeviceIDs and clCreateContextFromType, focusing on handling CL_DEVICE_TYPE_ALL. Confirm that this value is accepted for both entry points and improve the associated error message; the issue provides no test or file path, so identify the relevant verification tests before making changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
hpc, tooling
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.