Lines Matching refs:Alloc

611     template < class T, class Alloc = std::allocator<T> >
612 using vector = std::vector<T, Alloc>;
3839 template<class Alloc>
3842 Alloc alloc_;
3846 typedef typename std::allocator_traits<Alloc>::pointer pointer;
3848 Deleter(const Alloc &alloc, size_type copies) : alloc_{ alloc }, copies_{ copies } in Deleter()
3853 Alloc tmpAlloc{ alloc_ }; in operator ()()
3854 std::allocator_traits<Alloc>::destroy(tmpAlloc, std::addressof(*ptr)); in operator ()()
3855 std::allocator_traits<Alloc>::deallocate(tmpAlloc, ptr, copies_); in operator ()()
3866 template <class T, class Alloc, class... Args>
3867 cl::pointer<T, detail::Deleter<Alloc>> allocate_pointer(const Alloc &alloc_, Args&&... args) in allocate_pointer()
3869 Alloc alloc(alloc_); in allocate_pointer()
3875 T* tmp = std::allocator_traits<Alloc>::allocate(alloc, copies); in allocate_pointer()
3881 std::allocator_traits<Alloc>::construct( in allocate_pointer()
3886 return cl::pointer<T, detail::Deleter<Alloc>>(tmp, detail::Deleter<Alloc>{alloc, copies}); in allocate_pointer()
3890 std::allocator_traits<Alloc>::deallocate(alloc, tmp, copies); in allocate_pointer()
6107 template<typename T, class Alloc>
6108 cl_int setArg(cl_uint index, const cl::vector<T, Alloc> &argPtr) in setArg()
8262 template<typename T, class Alloc>
8264 cl::vector<T, Alloc> &container, in enqueueMapSVM()
8362 template<typename T, class Alloc>
8364 cl::vector<T, Alloc> &container, in enqueueUnmapSVM()
8571 template<typename T, class Alloc>
8573 const cl::vector<cl::vector<T, Alloc>> &svmContainers, in enqueueMigrateSVM()
8592 template<typename T, class Alloc>
8594 const cl::vector<cl::vector<T, Alloc>> &svmContainers, in enqueueMigrateSVM()
9388 template<typename T, class Alloc>
9390 cl::vector<T, Alloc> &container, in enqueueMapSVM()
9485 template<typename T, class Alloc>
9487 cl::vector<T, Alloc> &container, in enqueueUnmapSVM()
9629 template<typename T, class Alloc>
9630 inline cl_int mapSVM(cl::vector<T, Alloc> &container) in mapSVM()
9638 template<typename T, class Alloc>
9639 inline cl_int unmapSVM(cl::vector<T, Alloc> &container) in unmapSVM()