KhronosGroup / KhronosGroup/OpenCL-CTS
test_computeinfo: need special check for built-in kernel name_version and string if no built-in kernels are supported
- Dominant language
- C++
- Stars
- 232
- Forks
- 235
- Avg merge
- 8d 7h
- Merged PRs (30d)
- 18
Description
For `CL_DEVICE_BUILT_IN_KERNELS`: An empty string is returned if no built-in kernels are supported by the device.
For `CL_DEVICE_BUILT_IN_KERNELS_WITH_VERSION`: The list of reported kernels must match the list returned via `CL_DEVICE_BUILT_IN_KERNELS`.
so, if a device has no supported built-in kernels, it may return `{CL_MAKE_VERSION(0, 0, 0), ""}`, when querying `CL_DEVICE_BUILT_IN_KERNELS_WITH_VERSION`
CST may add special validation for this scene.
Thanks!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the test_computeinfo implementation and its checks for CL_DEVICE_BUILT_IN_KERNELS and CL_DEVICE_BUILT_IN_KERNELS_WITH_VERSION. Confirm the empty-kernel case and ensure the versioned query accepts {CL_MAKE_VERSION(0, 0, 0), ""} when no built-in kernels are supported, while otherwise matching the reported kernel list.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100