Lines Matching defs:pointer

116  * cl::array, cl::vector, cl::pointer and cl::string.
177 * Do not use the standard library unique_ptr class. cl::pointer and
358 // Ensure that the additional SVM pointer is available to the kernel
625 using pointer = std::unique_ptr<T, D>;
769 * \return A memory pointer to the error message string.
1006 // Create array of pointers, calculate total size and pass pointer array in
3550 typedef value_type* pointer;
3592 pointer address(reference r) CL_HPP_NOEXCEPT_
3603 * Allocate an SVM pointer.
3608 pointer allocate(
3619 pointer retValue = reinterpret_cast<pointer>(
3637 // If exceptions disabled, return null pointer from allocator
3641 void deallocate(pointer p, size_type)
3687 }; // class SVMAllocator return cl::pointer<T>(tmp, detail::Deleter<T, Alloc>{alloc, copies});
3694 typedef value_type* pointer;
3717 typedef typename std::allocator_traits<Alloc>::pointer pointer;
3723 void operator()(pointer ptr) const {
3738 cl::pointer<T, detail::Deleter<Alloc>> allocate_pointer(const Alloc &alloc_, Args&&... args)
3757 return cl::pointer<T, detail::Deleter<Alloc>>(tmp, detail::Deleter<Alloc>{alloc, copies});
3767 cl::pointer<T, detail::Deleter<SVMAllocator<T, SVMTrait>>> allocate_svm(Args... args)
3774 cl::pointer<T, detail::Deleter<SVMAllocator<T, SVMTrait>>> allocate_svm(const cl::Context &c, Args... args)
5733 * \returns a pointer to the size of the first dimension.
5988 cl_int setArg(cl_uint index, const cl::pointer<T, D> &argPtr)
6005 /*! \brief setArg overload taking a pointer type
6094 void setSVMPointersHelper(std::array<void*, ArrayLength> &pointerList, const pointer<T0, D> &t0, const pointer<T1, D> &t1, Ts & ... ts)
6109 void setSVMPointersHelper(std::array<void*, ArrayLength> &pointerList, const pointer<T0, D> &t0)
6428 * \param binaries A vector of pairs of a pointer to a binary object and its length.
6433 * Set to CL_INVALID_VALUE if the length is 0 or the binary pointer is NULL.
8053 * This variant takes a raw SVM pointer.
8081 * This variant takes a cl::pointer instance.
8085 cl::pointer<T, D> &ptr,
8158 * This variant takes a raw SVM pointer.
8183 * This variant takes a cl::pointer instance.
8187 cl::pointer<T, D> &ptr,
8335 * @param sizes - The length from each pointer to migrate.
8380 * @param sizes - The length from each pointer to migrate.
8384 const cl::vector<cl::pointer<T, D>> &svmPointers,
8406 const cl::vector<cl::pointer<T, D>> &svmPointers,
9186 * This variant takes a raw SVM pointer.
9210 * This variant takes a cl::pointer instance.
9214 cl::pointer<T, D> ptr,
9288 * This variant takes a raw SVM pointer.
9310 * This variant takes a cl::pointer instance.
9314 cl::pointer<T, D> &ptr,
9416 DataType *pointer =
9427 pointer, length));
9429 std::copy(startIterator, endIterator, pointer);
9432 error = queue.enqueueUnmapMemObject(buffer, pointer, 0, &endEvent);
9455 DataType *pointer =
9461 std::copy(pointer, pointer + length, startIterator);
9463 error = queue.enqueueUnmapMemObject(buffer, pointer, 0, &endEvent);