boostorg / compute

A C++ GPU Computing Library for OpenCL
http://boostorg.github.io/compute/
Boost Software License 1.0
1.52k stars 333 forks source link

2D image depth contradiction #845

Open etomzak opened 4 years ago

etomzak commented 4 years ago

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 S 5.3.7].