KhronosGroup / KhronosGroup/OpenCL-CTS

Some image 3D test cases does not work properly for embedded profile.

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

Description

https://github.com/KhronosGroup/OpenCL-CTS/blob/6a64c5a0c74b9e4a83025628f2cdb746647cdfb1/test_conformance/images/samplerlessReads/test_read_3D.cpp#L250
https://github.com/KhronosGroup/OpenCL-CTS/blob/6a64c5a0c74b9e4a83025628f2cdb746647cdfb1/test_conformance/api/test_api_min_max.c#L806
According to the OpenCL Specification 1.2, the minimum value of CL_DEVICE_IMAGE3D_MAX_DEPTH can be 0 for Ebedded Profile.
For example, the code above cannot work properly when the Max Depth is less then 256.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with test_conformance/images/samplerlessReads/test_read_3D.cpp around line 250 and test_conformance/api/test_api_min_max.c around line 806. Review how both cases handle CL_DEVICE_IMAGE3D_MAX_DEPTH for the embedded profile, especially values below 256. Done means the relevant 3D image and min/max tests work when the reported maximum depth is less than 256.

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
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.