X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fboost%2Flibs%2Fcompute%2Ftest%2Ftest_image1d.cpp;h=364d19ed96b40bc8461acebef98e4e3a5e39b854;hb=b32b81446b3b05102be0267e79203f59329c1d97;hp=a1703fc15b42457fe7f82a63168c7c7ea40c5aff;hpb=215dd7151453fae88e6f968c975b6ce309d42dcf;p=ceph.git diff --git a/ceph/src/boost/libs/compute/test/test_image1d.cpp b/ceph/src/boost/libs/compute/test/test_image1d.cpp index a1703fc15..364d19ed9 100644 --- a/ceph/src/boost/libs/compute/test/test_image1d.cpp +++ b/ceph/src/boost/libs/compute/test/test_image1d.cpp @@ -27,7 +27,7 @@ BOOST_AUTO_TEST_CASE(image1d_get_supported_formats) compute::image1d::get_supported_formats(context); } -#ifdef CL_VERSION_1_2 +#ifdef BOOST_COMPUTE_CL_VERSION_1_2 BOOST_AUTO_TEST_CASE(fill_image1d) { REQUIRES_OPENCL_VERSION(1, 2); // device OpenCL version check @@ -55,7 +55,7 @@ BOOST_AUTO_TEST_CASE(fill_image1d) queue.enqueue_read_image(img, compute::dim(0), compute::dim(1), &first_pixel); BOOST_CHECK_EQUAL(first_pixel, compute::uchar_(128)); } -#endif // CL_VERSION_1_2 +#endif // BOOST_COMPUTE_CL_VERSION_1_2 // check type_name() for image1d BOOST_AUTO_TEST_CASE(image1d_type_name)