Lines Matching refs:Wrapper

68  * The OpenCL C++ Wrapper API 1.2 (revision 09)
1185 * existence of Wrapper<T>::cl_type, and none of the other types having the
1186 * cl_type member. Note that simplify specifying the parameter as Wrapper<T>
1304 * existence of Wrapper<T>::cl_type, and none of the other types having the
1305 * cl_type member. Note that simplify specifying the parameter as Wrapper<T>
1823 class Wrapper
1832 Wrapper() : object_(NULL) { }
1834 Wrapper(const cl_type &obj) : object_(obj) { }
1836 ~Wrapper()
1841 Wrapper(const Wrapper<cl_type>& rhs)
1848 Wrapper(Wrapper<cl_type>&& rhs) CL_HPP_NOEXCEPT
1855 Wrapper<cl_type>& operator = (const Wrapper<cl_type>& rhs)
1866 Wrapper<cl_type>& operator = (Wrapper<cl_type>&& rhs)
1877 Wrapper<cl_type>& operator = (const cl_type &rhs)
1904 class Wrapper<cl_device_id>
1926 Wrapper() : object_(NULL), referenceCountable_(false)
1930 Wrapper(const cl_type &obj) : object_(obj), referenceCountable_(false)
1935 ~Wrapper()
1940 Wrapper(const Wrapper<cl_type>& rhs)
1948 Wrapper(Wrapper<cl_type>&& rhs) CL_HPP_NOEXCEPT
1957 Wrapper<cl_type>& operator = (const Wrapper<cl_type>& rhs)
1969 Wrapper<cl_type>& operator = (Wrapper<cl_type>&& rhs)
1982 Wrapper<cl_type>& operator = (const cl_type &rhs)
2060 class Device : public detail::Wrapper<cl_device_id>
2064 Device() : detail::Wrapper<cl_type>() { }
2070 __CL_EXPLICIT_CONSTRUCTORS Device(const cl_device_id &device) : detail::Wrapper<cl_type>(device) { }
2084 detail::Wrapper<cl_type>::operator=(rhs);
2091 Device(const Device& dev) : detail::Wrapper<cl_type>(dev) {}
2098 detail::Wrapper<cl_type>::operator=(dev);
2106 Device(Device&& dev) CL_HPP_NOEXCEPT : detail::Wrapper<cl_type>(std::move(dev)) {}
2113 detail::Wrapper<cl_type>::operator=(std::move(dev));
2118 //! \brief Wrapper for clGetDeviceInfo().
2127 //! \brief Wrapper for clGetDeviceInfo() that returns by value.
2145 //! \brief Wrapper for clCreateSubDevicesEXT().
2213 class Platform : public detail::Wrapper<cl_platform_id>
2217 Platform() : detail::Wrapper<cl_type>() { }
2223 __CL_EXPLICIT_CONSTRUCTORS Platform(const cl_platform_id &platform) : detail::Wrapper<cl_type>(platform) { }
2231 detail::Wrapper<cl_type>::operator=(rhs);
2235 //! \brief Wrapper for clGetPlatformInfo().
2243 //! \brief Wrapper for clGetPlatformInfo() that returns by value.
2461 //! \brief Wrapper for clUnloadCompiler().
2496 : public detail::Wrapper<cl_context>
2656 Context(const Context& ctx) : detail::Wrapper<cl_type>(ctx) {}
2663 detail::Wrapper<cl_type>::operator=(ctx);
2671 Context(Context&& ctx) CL_HPP_NOEXCEPT : detail::Wrapper<cl_type>(std::move(ctx)) {}
2678 detail::Wrapper<cl_type>::operator=(std::move(ctx));
2736 Context() : detail::Wrapper<cl_type>() { }
2743 __CL_EXPLICIT_CONSTRUCTORS Context(const cl_context& context) : detail::Wrapper<cl_type>(context) { }
2752 detail::Wrapper<cl_type>::operator=(rhs);
2756 //! \brief Wrapper for clGetContextInfo().
2765 //! \brief Wrapper for clGetContextInfo() that returns by value.
2868 class Event : public detail::Wrapper<cl_event>
2872 Event() : detail::Wrapper<cl_type>() { }
2879 __CL_EXPLICIT_CONSTRUCTORS Event(const cl_event& event) : detail::Wrapper<cl_type>(event) { }
2888 detail::Wrapper<cl_type>::operator=(rhs);
2892 //! \brief Wrapper for clGetEventInfo().
2901 //! \brief Wrapper for clGetEventInfo() that returns by value.
2915 //! \brief Wrapper for clGetEventProfilingInfo().
2924 //! \brief Wrapper for clGetEventProfilingInfo() that returns by value.
3047 class Memory : public detail::Wrapper<cl_mem>
3051 Memory() : detail::Wrapper<cl_type>() { }
3058 __CL_EXPLICIT_CONSTRUCTORS Memory(const cl_mem& memory) : detail::Wrapper<cl_type>(memory) { }
3067 detail::Wrapper<cl_type>::operator=(rhs);
3074 Memory(const Memory& mem) : detail::Wrapper<cl_type>(mem) {}
3081 detail::Wrapper<cl_type>::operator=(mem);
3089 Memory(Memory&& mem) CL_HPP_NOEXCEPT : detail::Wrapper<cl_type>(std::move(mem)) {}
3096 detail::Wrapper<cl_type>::operator=(std::move(mem));
3101 //! \brief Wrapper for clGetMemObjectInfo().
3110 //! \brief Wrapper for clGetMemObjectInfo() that returns by value.
3563 //! \brief Wrapper for clGetGLObjectInfo().
3633 //! \brief Wrapper for clGetImageInfo().
3642 //! \brief Wrapper for clGetImageInfo() that returns by value.
4639 //! \brief Wrapper for clGetGLObjectInfo().
4658 class Sampler : public detail::Wrapper<cl_sampler>
4694 __CL_EXPLICIT_CONSTRUCTORS Sampler(const cl_sampler& sampler) : detail::Wrapper<cl_type>(sampler) { }
4703 detail::Wrapper<cl_type>::operator=(rhs);
4710 Sampler(const Sampler& sam) : detail::Wrapper<cl_type>(sam) {}
4717 detail::Wrapper<cl_type>::operator=(sam);
4725 Sampler(Sampler&& sam) CL_HPP_NOEXCEPT : detail::Wrapper<cl_type>(std::move(sam)) {}
4732 detail::Wrapper<cl_type>::operator=(std::move(sam));
4737 //! \brief Wrapper for clGetSamplerInfo().
4746 //! \brief Wrapper for clGetSamplerInfo() that returns by value.
4875 class Kernel : public detail::Wrapper<cl_kernel>
4888 __CL_EXPLICIT_CONSTRUCTORS Kernel(const cl_kernel& kernel) : detail::Wrapper<cl_type>(kernel) { }
4897 detail::Wrapper<cl_type>::operator=(rhs);
4904 Kernel(const Kernel& kernel) : detail::Wrapper<cl_type>(kernel) {}
4911 detail::Wrapper<cl_type>::operator=(kernel);
4919 Kernel(Kernel&& kernel) CL_HPP_NOEXCEPT : detail::Wrapper<cl_type>(std::move(kernel)) {}
4926 detail::Wrapper<cl_type>::operator=(std::move(kernel));
5021 class Program : public detail::Wrapper<cl_program>
5228 __CL_EXPLICIT_CONSTRUCTORS Program(const cl_program& program) : detail::Wrapper<cl_type>(program) { }
5232 detail::Wrapper<cl_type>::operator=(rhs);
5239 Program(const Program& program) : detail::Wrapper<cl_type>(program) {}
5246 detail::Wrapper<cl_type>::operator=(program);
5254 Program(Program&& program) CL_HPP_NOEXCEPT : detail::Wrapper<cl_type>(std::move(program)) {}
5261 detail::Wrapper<cl_type>::operator=(std::move(program));
5508 class CommandQueue : public detail::Wrapper<cl_command_queue>
5596 CommandQueue(const CommandQueue& queue) : detail::Wrapper<cl_type>(queue) {}
5603 detail::Wrapper<cl_type>::operator=(queue);
5611 CommandQueue(CommandQueue&& queue) CL_HPP_NOEXCEPT : detail::Wrapper<cl_type>(std::move(queue)) {}
5618 detail::Wrapper<cl_type>::operator=(std::move(queue));
5686 __CL_EXPLICIT_CONSTRUCTORS CommandQueue(const cl_command_queue& commandQueue) : detail::Wrapper<cl_type>(commandQueue) { }
5690 detail::Wrapper<cl_type>::operator=(rhs);