void set_arg(size_t index, const memory_object &mem) { set_arg<cl_mem>(index, mem.get()); }
/// \internal_ /// /// specialization for buffer, image2d and image3d void set_arg(size_t index, const memory_object &mem) { BOOST_ASSERT(mem.get_context() == this->get_context()); set_arg(index, sizeof(cl_mem), static_cast<const void *>(&mem.get())); }