KhronosGroup / KhronosGroup/OpenCL-CTS

cl_khr_egl_image untested

Open
#1,321 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
232
Forks
235
Avg merge
8d 7h
Merged PRs (30d)
18

Description

No tests are currently exercising cl_khr_egl_image. Here are a few scenarios we should cover

## Positive testing

- TBD end-to-end testing with other API (e.g. OpenGL) producer and consumer
- Test that `clGetEventInfo` returns the right value for `CL_EVENT_COMMAND_TYPE` for events returned by `clEnqueueAcquireEGLObjectsKHR` or `clEnqueueReleaseEGLObjectsKHR`

## Negative testing

- All testable error codes that can be returned by `clCreateFromEGLImageKHR`, `clEnqueueAcquireEGLObjectsKHR` or `clEnqueueReleaseEGLObjectsKHR`
- Test that a command using a memory object that hasn't been acquired fails with `CL_EGL_RESOURCE_NOT_ACQUIRED_KHR`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the existing CTS entry points for clCreateFromEGLImageKHR, clEnqueueAcquireEGLObjectsKHR, clEnqueueReleaseEGLObjectsKHR, and clGetEventInfo. Add positive and negative coverage for the listed scenarios, including CL_COMMAND_TYPE and CL_EGL_RESOURCE_NOT_ACQUIRED_KHR, and use the resulting tests to verify the extension behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.