summaryrefslogtreecommitdiff
path: root/boost/compute/pipe.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/compute/pipe.hpp')
-rw-r--r--boost/compute/pipe.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/compute/pipe.hpp b/boost/compute/pipe.hpp
index 944674e622..907750a3ba 100644
--- a/boost/compute/pipe.hpp
+++ b/boost/compute/pipe.hpp
@@ -18,7 +18,7 @@
#include <boost/compute/detail/get_object_info.hpp>
// pipe objects require opencl 2.0
-#if defined(CL_VERSION_2_0) || defined(BOOST_COMPUTE_DOXYGEN_INVOKED)
+#if defined(BOOST_COMPUTE_CL_VERSION_2_0) || defined(BOOST_COMPUTE_DOXYGEN_INVOKED)
namespace boost {
namespace compute {
@@ -149,6 +149,6 @@ struct set_kernel_arg<pipe>
} // end compute namespace
} // end boost namespace
-#endif // CL_VERSION_2_0
+#endif // BOOST_COMPUTE_CL_VERSION_2_0
#endif // BOOST_COMPUTE_PIPE_HPP