diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-09-13 11:24:46 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-09-13 11:25:39 +0900 |
commit | 4fadd968fa12130524c8380f33fcfe25d4de79e5 (patch) | |
tree | fd26a490cd15388d42fc6652b3c5c13012e7f93e /boost/compute/memory_object.hpp | |
parent | b5c87084afaef42b2d058f68091be31988a6a874 (diff) | |
download | boost-4fadd968fa12130524c8380f33fcfe25d4de79e5.tar.gz boost-4fadd968fa12130524c8380f33fcfe25d4de79e5.tar.bz2 boost-4fadd968fa12130524c8380f33fcfe25d4de79e5.zip |
Imported Upstream version 1.65.0upstream/1.65.0
Change-Id: Icf8400b375482cb11bcf77440a6934ba360d6ba4
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'boost/compute/memory_object.hpp')
-rw-r--r-- | boost/compute/memory_object.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/boost/compute/memory_object.hpp b/boost/compute/memory_object.hpp index 14c4cf4c7e..75c8738f8f 100644 --- a/boost/compute/memory_object.hpp +++ b/boost/compute/memory_object.hpp @@ -38,7 +38,7 @@ public: use_host_ptr = CL_MEM_USE_HOST_PTR, alloc_host_ptr = CL_MEM_ALLOC_HOST_PTR, copy_host_ptr = CL_MEM_COPY_HOST_PTR - #ifdef CL_VERSION_1_2 + #ifdef BOOST_COMPUTE_CL_VERSION_1_2 , host_write_only = CL_MEM_HOST_WRITE_ONLY, host_read_only = CL_MEM_HOST_READ_ONLY, @@ -105,7 +105,7 @@ public: return detail::get_object_info<T>(clGetMemObjectInfo, m_mem, info); } - #if defined(CL_VERSION_1_1) || defined(BOOST_COMPUTE_DOXYGEN_INVOKED) + #if defined(BOOST_COMPUTE_CL_VERSION_1_1) || defined(BOOST_COMPUTE_DOXYGEN_INVOKED) /// Registers a function to be called when the memory object is deleted /// and its resources freed. /// @@ -137,7 +137,7 @@ public: new boost::function<void()>(callback) ); } - #endif // CL_VERSION_1_1 + #endif // BOOST_COMPUTE_CL_VERSION_1_1 /// Returns \c true if the memory object is the same as \p other. bool operator==(const memory_object &other) const @@ -152,7 +152,7 @@ public: } private: - #ifdef CL_VERSION_1_1 + #ifdef BOOST_COMPUTE_CL_VERSION_1_1 /// \internal_ static void BOOST_COMPUTE_CL_CALLBACK destructor_callback_invoker(cl_mem, void *user_data) @@ -164,7 +164,7 @@ private: delete callback; } - #endif // CL_VERSION_1_1 + #endif // BOOST_COMPUTE_CL_VERSION_1_1 protected: /// \internal_ |