boostorg / boostorg/compute

2D image depth contradiction

Open
#845 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
1.7k
Forks
340
PR merge metrics
No merged PRs in 30d

Description

`include/boost/compute/image/image2d.hpp` defines `image_depth = 1`, but `test/test_image2d.cpp` (`get_info`) tests that `CL_IMAGE_DEPTH` is `0`. I'm not sure exactly what this test is trying to do, but I believe `0` is correct [[source](https://www.khronos.org/registry/OpenCL/specs/opencl-1.2.pdf) S 5.3.7].

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.