KhronosGroup / KhronosGroup/OpenCL-CTS

May be the arary to small?

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

Description

https://github.com/KhronosGroup/OpenCL-CTS/blob/fb55f7e81c86dc21670bcc8a6e6de7ad53abf044/test_conformance/api/test_api_min_max.cpp#L253

image_format_desc.image_channel_order = CL_RGBA;
image_format_desc.image_channel_data_type = CL_FLOAT;

when the imageformat is CL_RGBA and CL_FLOAT, the image size is 4 * 4, The array size need 4 * 4 * 4 ?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with test_conformance/api/test_api_min_max.cpp at line 253 and inspect how the image format and array size are used for CL_RGBA with CL_FLOAT. Verify whether the allocation matches the format's expected dimensions; done when the suspected size issue is confirmed or disproved and the test behavior is corrected if necessary.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
testing-qa
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.