diff options
Diffstat (limited to 'boost/compute/image/image3d.hpp')
-rw-r--r-- | boost/compute/image/image3d.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/boost/compute/image/image3d.hpp b/boost/compute/image/image3d.hpp index 9463cfaa16..5569f2a0b9 100644 --- a/boost/compute/image/image3d.hpp +++ b/boost/compute/image/image3d.hpp @@ -54,7 +54,7 @@ public: { cl_int error = 0; - #ifdef CL_VERSION_1_2 + #ifdef BOOST_COMPUTE_CL_VERSION_1_2 cl_image_desc desc; desc.image_type = CL_MEM_OBJECT_IMAGE3D; desc.image_width = image_width; @@ -65,7 +65,7 @@ public: desc.image_slice_pitch = image_slice_pitch; desc.num_mip_levels = 0; desc.num_samples = 0; - #ifdef CL_VERSION_2_0 + #ifdef BOOST_COMPUTE_CL_VERSION_2_0 desc.mem_object = 0; #else desc.buffer = 0; @@ -108,7 +108,7 @@ public: { cl_int error = 0; - #ifdef CL_VERSION_1_2 + #ifdef BOOST_COMPUTE_CL_VERSION_1_2 cl_image_desc desc; desc.image_type = CL_MEM_OBJECT_IMAGE3D; desc.image_width = image_width; @@ -119,7 +119,7 @@ public: desc.image_slice_pitch = image_slice_pitch; desc.num_mip_levels = 0; desc.num_samples = 0; - #ifdef CL_VERSION_2_0 + #ifdef BOOST_COMPUTE_CL_VERSION_2_0 desc.mem_object = 0; #else desc.buffer = 0; |