Home
last modified time | relevance | path

Searched refs:svm_ptr (Results 1 – 25 of 39) sorted by relevance

12

/third_party/boost/libs/compute/include/boost/compute/memory/
Dsvm_ptr.hpp29 class svm_ptr;
40 svm_ptr_index_expr(const svm_ptr<T> &svm_ptr, in svm_ptr_index_expr()
42 : m_svm_ptr(svm_ptr), in svm_ptr_index_expr()
68 const svm_ptr<T> &m_svm_ptr;
76 class svm_ptr class
85 svm_ptr() in svm_ptr() function in boost::compute::svm_ptr
90 svm_ptr(void *ptr, const context &context) in svm_ptr() function in boost::compute::svm_ptr
96 svm_ptr(const svm_ptr<T> &other) in svm_ptr() function in boost::compute::svm_ptr
102 svm_ptr<T>& operator=(const svm_ptr<T> &other) in operator =()
109 ~svm_ptr() in ~svm_ptr()
[all …]
/third_party/boost/boost/compute/memory/
Dsvm_ptr.hpp29 class svm_ptr;
40 svm_ptr_index_expr(const svm_ptr<T> &svm_ptr, in svm_ptr_index_expr()
42 : m_svm_ptr(svm_ptr), in svm_ptr_index_expr()
68 const svm_ptr<T> &m_svm_ptr;
76 class svm_ptr class
85 svm_ptr() in svm_ptr() function in boost::compute::svm_ptr
90 svm_ptr(void *ptr, const context &context) in svm_ptr() function in boost::compute::svm_ptr
96 svm_ptr(const svm_ptr<T> &other) in svm_ptr() function in boost::compute::svm_ptr
102 svm_ptr<T>& operator=(const svm_ptr<T> &other) in operator =()
109 ~svm_ptr() in ~svm_ptr()
[all …]
/third_party/boost/boost/compute/algorithm/detail/
Dcopy_on_device.hpp157 inline svm_ptr<T> copy_on_device(svm_ptr<T> first, in copy_on_device()
158 svm_ptr<T> last, in copy_on_device()
159 svm_ptr<T> result, in copy_on_device()
176 inline future<svm_ptr<T> > copy_on_device_async(svm_ptr<T> first, in copy_on_device_async()
177 svm_ptr<T> last, in copy_on_device_async()
178 svm_ptr<T> result, in copy_on_device_async()
184 return future<svm_ptr<T> >(); in copy_on_device_async()
Dcopy_to_device.hpp136 inline svm_ptr<T> copy_to_device(HostIterator first, in copy_to_device()
138 svm_ptr<T> result, in copy_to_device()
155 inline future<svm_ptr<T> > copy_to_device_async(HostIterator first, in copy_to_device_async()
157 svm_ptr<T> result, in copy_to_device_async()
163 return future<svm_ptr<T> >(); in copy_to_device_async()
174 inline svm_ptr<T> copy_to_device_map(HostIterator first, in copy_to_device_map()
176 svm_ptr<T> result, in copy_to_device_map()
Dcopy_to_host.hpp137 inline HostIterator copy_to_host(svm_ptr<T> first, in copy_to_host()
138 svm_ptr<T> last, in copy_to_host()
156 inline future<HostIterator> copy_to_host_async(svm_ptr<T> first, in copy_to_host_async()
157 svm_ptr<T> last, in copy_to_host_async()
175 inline HostIterator copy_to_host_map(svm_ptr<T> first, in copy_to_host_map()
176 svm_ptr<T> last, in copy_to_host_map()
/third_party/boost/libs/compute/include/boost/compute/algorithm/detail/
Dcopy_on_device.hpp157 inline svm_ptr<T> copy_on_device(svm_ptr<T> first, in copy_on_device()
158 svm_ptr<T> last, in copy_on_device()
159 svm_ptr<T> result, in copy_on_device()
176 inline future<svm_ptr<T> > copy_on_device_async(svm_ptr<T> first, in copy_on_device_async()
177 svm_ptr<T> last, in copy_on_device_async()
178 svm_ptr<T> result, in copy_on_device_async()
184 return future<svm_ptr<T> >(); in copy_on_device_async()
Dcopy_to_device.hpp136 inline svm_ptr<T> copy_to_device(HostIterator first, in copy_to_device()
138 svm_ptr<T> result, in copy_to_device()
155 inline future<svm_ptr<T> > copy_to_device_async(HostIterator first, in copy_to_device_async()
157 svm_ptr<T> result, in copy_to_device_async()
163 return future<svm_ptr<T> >(); in copy_to_device_async()
174 inline svm_ptr<T> copy_to_device_map(HostIterator first, in copy_to_device_map()
176 svm_ptr<T> result, in copy_to_device_map()
Dcopy_to_host.hpp137 inline HostIterator copy_to_host(svm_ptr<T> first, in copy_to_host()
138 svm_ptr<T> last, in copy_to_host()
156 inline future<HostIterator> copy_to_host_async(svm_ptr<T> first, in copy_to_host_async()
157 svm_ptr<T> last, in copy_to_host_async()
175 inline HostIterator copy_to_host_map(svm_ptr<T> first, in copy_to_host_map()
176 svm_ptr<T> last, in copy_to_host_map()
/third_party/boost/boost/compute/
Dsvm.hpp32 inline svm_ptr<T> svm_alloc(const context &context, in svm_alloc()
37 svm_ptr<T> ptr( in svm_alloc()
55 inline void svm_free(svm_ptr<T> ptr) in svm_free()
62 inline void svm_free(const context &context, svm_ptr<T> ptr) in svm_free()
Dcommand_queue.hpp1736 event enqueue_svm_fill(void *svm_ptr, in enqueue_svm_fill() argument
1747 svm_ptr, in enqueue_svm_fill()
1770 event enqueue_svm_free(void *svm_ptr, in enqueue_svm_free() argument
1778 &svm_ptr, in enqueue_svm_free()
1798 event enqueue_svm_map(void *svm_ptr, in enqueue_svm_map() argument
1809 svm_ptr, in enqueue_svm_map()
1828 event enqueue_svm_unmap(void *svm_ptr, in enqueue_svm_unmap() argument
1835 svm_ptr, in enqueue_svm_unmap()
1897 event enqueue_svm_migrate_memory(const void* svm_ptr, in enqueue_svm_migrate_memory() argument
1907 &svm_ptr, in enqueue_svm_migrate_memory()
/third_party/boost/libs/compute/include/boost/compute/
Dsvm.hpp32 inline svm_ptr<T> svm_alloc(const context &context, in svm_alloc()
37 svm_ptr<T> ptr( in svm_alloc()
55 inline void svm_free(svm_ptr<T> ptr) in svm_free()
62 inline void svm_free(const context &context, svm_ptr<T> ptr) in svm_free()
Dcommand_queue.hpp1736 event enqueue_svm_fill(void *svm_ptr, in enqueue_svm_fill() argument
1747 svm_ptr, in enqueue_svm_fill()
1770 event enqueue_svm_free(void *svm_ptr, in enqueue_svm_free() argument
1778 &svm_ptr, in enqueue_svm_free()
1798 event enqueue_svm_map(void *svm_ptr, in enqueue_svm_map() argument
1809 svm_ptr, in enqueue_svm_map()
1828 event enqueue_svm_unmap(void *svm_ptr, in enqueue_svm_unmap() argument
1835 svm_ptr, in enqueue_svm_unmap()
1897 event enqueue_svm_migrate_memory(const void* svm_ptr, in enqueue_svm_migrate_memory() argument
1907 &svm_ptr, in enqueue_svm_migrate_memory()
/third_party/mesa3d/src/gallium/frontends/clover/api/
Dplatform.cpp148 void *svm_ptr, in enqueueSVMMapARM() argument
154 return EnqueueSVMMap(command_queue, blocking_map, map_flags, svm_ptr, size, in enqueueSVMMapARM()
176 void *svm_ptr, in enqueueSVMMemFillARM() argument
184 return EnqueueSVMMemFill(command_queue, svm_ptr, pattern, pattern_size, in enqueueSVMMemFillARM()
191 void *svm_ptr, in enqueueSVMUnmapARM() argument
196 return EnqueueSVMUnmap(command_queue, svm_ptr, num_events_in_wait_list, in enqueueSVMUnmapARM()
Ddispatch.hpp78 void *svm_ptr,
87 void *svm_ptr,
98 void *svm_ptr,
Dtransfer.cpp1094 void *svm_ptr, in EnqueueSVMMemFill() argument
1107 if (svm_ptr == nullptr || pattern == nullptr || in EnqueueSVMMemFill()
1110 !ptr_is_aligned(svm_ptr, pattern_size) || in EnqueueSVMMemFill()
1122 void *ptr = svm_ptr; in EnqueueSVMMemFill()
1142 void *svm_ptr, in clEnqueueSVMMemFill() argument
1150 return EnqueueSVMMemFill(d_q, svm_ptr, pattern, pattern_size, in clEnqueueSVMMemFill()
1159 void *svm_ptr, in EnqueueSVMMap() argument
1170 if (svm_ptr == nullptr || size == 0) in EnqueueSVMMap()
1197 void *svm_ptr, in clEnqueueSVMMap() argument
1203 return EnqueueSVMMap(d_q, blocking_map, map_flags, svm_ptr, size, in clEnqueueSVMMap()
[all …]
/third_party/boost/libs/compute/test/
Dtest_svm_ptr.cpp36 compute::svm_ptr<cl_int> ptr = compute::svm_alloc<cl_int>(context, 8); in BOOST_AUTO_TEST_CASE()
51 compute::svm_ptr<cl_int> ptr = compute::svm_alloc<cl_int>(context, 8); in BOOST_AUTO_TEST_CASE()
52 compute::svm_ptr<cl_int> ptr2 = compute::svm_alloc<cl_int>(context, 8); in BOOST_AUTO_TEST_CASE()
93 compute::svm_ptr<cl_int> ptr = compute::svm_alloc<cl_int>(context, 8); in BOOST_AUTO_TEST_CASE()
118 compute::svm_ptr<cl_int> ptr = in BOOST_AUTO_TEST_CASE()
Dtest_copy_type_mismatch.cpp412 compute::svm_ptr<int_> ptr = compute::svm_alloc<int_>(context, 4); in BOOST_AUTO_TEST_CASE()
467 compute::svm_ptr<int_> ptr = compute::svm_alloc<int_>(context, 4); in BOOST_AUTO_TEST_CASE()
518 compute::svm_ptr<int_> ptr = compute::svm_alloc<int_>(context, 4); in BOOST_AUTO_TEST_CASE()
553 compute::svm_ptr<int_> ptr = compute::svm_alloc<int_>(context, 4); in BOOST_AUTO_TEST_CASE()
687 compute::svm_ptr<int_> ptr = compute::svm_alloc<int_>(context, 4); in BOOST_AUTO_TEST_CASE()
718 compute::svm_ptr<float_> ptr = compute::svm_alloc<float_>(context, 4); in BOOST_AUTO_TEST_CASE()
752 compute::svm_ptr<float_> ptr = compute::svm_alloc<float_>(context, 4); in BOOST_AUTO_TEST_CASE()
753 compute::svm_ptr<int_> ptr2 = compute::svm_alloc<int_>(context, 4); in BOOST_AUTO_TEST_CASE()
791 compute::svm_ptr<int_> ptr = compute::svm_alloc<int_>(context, 4); in BOOST_AUTO_TEST_CASE()
794 compute::future<bc::svm_ptr<int_> > future = in BOOST_AUTO_TEST_CASE()
[all …]
/third_party/mesa3d/include/CL/
Dcl_ext.h782 void * svm_ptr,
794 void * svm_ptr,
802 void * svm_ptr,
/third_party/boost/libs/compute/include/boost/compute/algorithm/
Dfill.hpp181 inline void dispatch_fill(svm_ptr<T> first, in dispatch_fill()
196 inline future<void> dispatch_fill_async(svm_ptr<T> first, in dispatch_fill_async()
/third_party/boost/boost/compute/algorithm/
Dfill.hpp181 inline void dispatch_fill(svm_ptr<T> first, in dispatch_fill()
196 inline future<void> dispatch_fill_async(svm_ptr<T> first, in dispatch_fill_async()
/third_party/opencl-headers/CL/
Dcl_ext.h821 void * svm_ptr,
833 void * svm_ptr,
841 void * svm_ptr,
/third_party/boost/boost/compute/detail/
Dmeta_kernel.hpp210 meta_kernel_svm_info(const svm_ptr<T> ptr, in meta_kernel_svm_info()
731 std::string get_svm_identifier(const svm_ptr<T> &svm_ptr, in get_svm_identifier() argument
744 if(spi.ptr == svm_ptr.get() && in get_svm_identifier()
762 svm_ptr, identifier, address_space, index in get_svm_identifier()
/third_party/boost/libs/compute/include/boost/compute/detail/
Dmeta_kernel.hpp210 meta_kernel_svm_info(const svm_ptr<T> ptr, in meta_kernel_svm_info()
731 std::string get_svm_identifier(const svm_ptr<T> &svm_ptr, in get_svm_identifier() argument
744 if(spi.ptr == svm_ptr.get() && in get_svm_identifier()
762 svm_ptr, identifier, address_space, index in get_svm_identifier()
/third_party/skia/third_party/externals/angle2/src/libGLESv2/
Dentry_points_cl_autogen.cpp2091 void *svm_ptr, in clEnqueueSVMMemFill() argument
2104 (uintptr_t)command_queue, (uintptr_t)svm_ptr, (uintptr_t)pattern, pattern_size, size, in clEnqueueSVMMemFill()
2107 ANGLE_CL_VALIDATE_ERROR(EnqueueSVMMemFill, command_queue, svm_ptr, pattern, pattern_size, size, in clEnqueueSVMMemFill()
2110 return EnqueueSVMMemFill(command_queue, svm_ptr, pattern, pattern_size, size, in clEnqueueSVMMemFill()
2117 void *svm_ptr, in clEnqueueSVMMap() argument
2129 (uintptr_t)svm_ptr, size, num_events_in_wait_list, (uintptr_t)event_wait_list, in clEnqueueSVMMap()
2134 ANGLE_CL_VALIDATE_ERROR(EnqueueSVMMap, command_queue, blocking_map, flagsPacked, svm_ptr, size, in clEnqueueSVMMap()
2137 return EnqueueSVMMap(command_queue, blocking_map, flagsPacked, svm_ptr, size, in clEnqueueSVMMap()
2142 void *svm_ptr, in clEnqueueSVMUnmap() argument
2151 (uintptr_t)command_queue, (uintptr_t)svm_ptr, num_events_in_wait_list, in clEnqueueSVMUnmap()
[all …]
/third_party/skia/third_party/externals/angle2/src/libOpenCL/
DlibOpenCL_autogen.cpp1006 void *svm_ptr, in clEnqueueSVMMemFill() argument
1014 return cl::GetDispatch().clEnqueueSVMMemFill(command_queue, svm_ptr, pattern, pattern_size, in clEnqueueSVMMemFill()
1022 void *svm_ptr, in clEnqueueSVMMap() argument
1028 return cl::GetDispatch().clEnqueueSVMMap(command_queue, blocking_map, flags, svm_ptr, size, in clEnqueueSVMMap()
1033 void *svm_ptr, in clEnqueueSVMUnmap() argument
1038 return cl::GetDispatch().clEnqueueSVMUnmap(command_queue, svm_ptr, num_events_in_wait_list, in clEnqueueSVMUnmap()

12