/dports/science/chrono/chrono-7.0.1/src/chrono_fsi/ |
H A D | ChSystemFsi_impl.cuh | 42 typedef thrust::device_vector<Real3>::iterator r3IterD; 44 typedef thrust::device_vector<Real4>::iterator r4IterD; 47 typedef thrust::zip_iterator<iterTupleSphD> zipIterSphD; 50 typedef thrust::host_vector<Real3>::iterator r3IterH; 52 typedef thrust::host_vector<Real4>::iterator r4IterH; 54 typedef thrust::tuple<r4IterH, r3IterH, r4IterH, r3IterH, r3IterH> iterTupleH; 55 typedef thrust::zip_iterator<iterTupleH> zipIterSphH; 60 typedef thrust::zip_iterator<iterTupleRigidD> zipIterRigidD; 65 typedef thrust::zip_iterator<iterTupleRigidH> zipIterRigidH; 69 typedef thrust::zip_iterator<iterTupleChronoBodiesH> zipIterChronoBodiesH; [all …]
|
/dports/devel/thrust/thrust-1.9.5/thrust/iterator/detail/ |
H A D | iterator_facade_category.h | 30 namespace thrust 125 thrust::detail::identity_<thrust::random_access_host_iterator_tag>, 128 thrust::detail::identity_<thrust::bidirectional_host_iterator_tag>, 129 thrust::detail::identity_<thrust::forward_host_iterator_tag> 134 thrust::detail::identity_<thrust::input_host_iterator_tag>, 149 thrust::detail::identity_<thrust::random_access_device_iterator_tag>, 152 thrust::detail::identity_<thrust::bidirectional_device_iterator_tag>, 153 thrust::detail::identity_<thrust::forward_device_iterator_tag> 158 thrust::detail::identity_<thrust::input_device_iterator_tag>, 182 thrust::detail::is_convertible<System, thrust::any_system_tag>::value, [all …]
|
/dports/devel/thrust/thrust-1.9.5/testing/ |
H A D | type_traits.cu | 74 ASSERT_EQUAL((bool) thrust::is_contiguous_iterator< thrust::device_ptr<int> >::value, true); in TestIsContiguousIterator() 83 ASSERT_EQUAL((bool) thrust::is_contiguous_iterator< thrust::device_ptr<int> >::value, true); in TestIsContiguousIterator() 89 …typedef thrust::transform_iterator<thrust::identity<int>, HostVector::iterator > TransformIterator; in TestIsContiguousIterator() 102 …{ typedef int T; typedef thrust::plus<T> Op; ASSERT_EQUAL((bool) thrust::detail::is_commuta… in TestIsCommutative() 103 …{ typedef int T; typedef thrust::multiplies<T> Op; ASSERT_EQUAL((bool) thrust::detail::is_commuta… in TestIsCommutative() 104 …{ typedef int T; typedef thrust::minimum<T> Op; ASSERT_EQUAL((bool) thrust::detail::is_commuta… in TestIsCommutative() 105 …{ typedef int T; typedef thrust::maximum<T> Op; ASSERT_EQUAL((bool) thrust::detail::is_commuta… in TestIsCommutative() 106 …{ typedef int T; typedef thrust::logical_or<T> Op; ASSERT_EQUAL((bool) thrust::detail::is_commuta… in TestIsCommutative() 107 …{ typedef int T; typedef thrust::logical_and<T> Op; ASSERT_EQUAL((bool) thrust::detail::is_commuta… in TestIsCommutative() 119 …{ typedef int T; typedef thrust::minus<T> Op; ASSERT_EQUAL((bool) thrust::detail::is_commutati… in TestIsCommutative() [all …]
|
H A D | partition.cu | 486 thrust::pair<thrust::discard_iterator<>, thrust::discard_iterator<> > h_result1 = in operator ()() 493 thrust::pair<thrust::discard_iterator<>, thrust::discard_iterator<> > d_result1 = in operator ()() 500 thrust::pair<thrust::discard_iterator<>, thrust::discard_iterator<> > reference1 = in operator ()() 591 thrust::pair<thrust::discard_iterator<>, thrust::discard_iterator<> > h_result1 = in operator ()() 599 thrust::pair<thrust::discard_iterator<>, thrust::discard_iterator<> > d_result1 = in operator ()() 607 thrust::pair<thrust::discard_iterator<>, thrust::discard_iterator<> > reference1 = in operator ()() 778 thrust::pair<thrust::discard_iterator<>, thrust::discard_iterator<> > h_result1 = in operator ()() 785 thrust::pair<thrust::discard_iterator<>, thrust::discard_iterator<> > d_result1 = in operator ()() 792 thrust::pair<thrust::discard_iterator<>, thrust::discard_iterator<> > reference1 = in operator ()() 883 thrust::pair<thrust::discard_iterator<>, thrust::discard_iterator<> > h_result1 = in operator ()() [all …]
|
H A D | binary_search_descending.cu | 25 …ASSERT_EQUAL_QUIET(vec.begin() + 4, thrust::lower_bound(vec.begin(), vec.end(), 0, thrust::greater… in TestScalarLowerBoundDescendingSimple() 79 ASSERT_EQUAL(true, thrust::binary_search(vec.begin(), vec.end(), 0, thrust::greater<T>())); in TestScalarBinarySearchDescendingSimple() 80 ASSERT_EQUAL(false, thrust::binary_search(vec.begin(), vec.end(), 1, thrust::greater<T>())); in TestScalarBinarySearchDescendingSimple() 81 ASSERT_EQUAL(true, thrust::binary_search(vec.begin(), vec.end(), 2, thrust::greater<T>())); in TestScalarBinarySearchDescendingSimple() 82 ASSERT_EQUAL(false, thrust::binary_search(vec.begin(), vec.end(), 3, thrust::greater<T>())); in TestScalarBinarySearchDescendingSimple() 83 ASSERT_EQUAL(false, thrust::binary_search(vec.begin(), vec.end(), 4, thrust::greater<T>())); in TestScalarBinarySearchDescendingSimple() 84 ASSERT_EQUAL(true, thrust::binary_search(vec.begin(), vec.end(), 5, thrust::greater<T>())); in TestScalarBinarySearchDescendingSimple() 85 ASSERT_EQUAL(false, thrust::binary_search(vec.begin(), vec.end(), 6, thrust::greater<T>())); in TestScalarBinarySearchDescendingSimple() 86 ASSERT_EQUAL(true, thrust::binary_search(vec.begin(), vec.end(), 7, thrust::greater<T>())); in TestScalarBinarySearchDescendingSimple() 87 ASSERT_EQUAL(true, thrust::binary_search(vec.begin(), vec.end(), 8, thrust::greater<T>())); in TestScalarBinarySearchDescendingSimple() [all …]
|
H A D | transform.cu | 70 thrust::transform(thrust::retag<my_tag>(vec.begin()), in TestTransformUnaryDispatchImplicit() 157 thrust::transform_if(thrust::retag<my_tag>(vec.begin()), in TestTransformIfUnaryNoStencilDispatchImplicit() 250 thrust::transform_if(thrust::retag<my_tag>(vec.begin()), in TestTransformIfUnaryDispatchImplicit() 325 thrust::transform(thrust::retag<my_tag>(vec.begin()), in TestTransformBinaryDispatchImplicit() 433 thrust::transform_if(thrust::retag<my_tag>(vec.begin()), in TestTransformIfBinaryDispatchImplicit() 470 …thrust::transform(h_input.begin(), h_input.end(), thrust::make_discard_iterator(), thrust::negate<… in TestTransformUnaryToDiscardIterator() 473 …thrust::transform(d_input.begin(), d_input.end(), thrust::make_discard_iterator(), thrust::negate<… in TestTransformUnaryToDiscardIterator() 764 …thrust::counting_iterator<T, thrust::host_system_tag> h_first = thrust::make_counting_iterator<T… in TestTransformUnaryCountingIterator() 765 …thrust::counting_iterator<T, thrust::device_system_tag> d_first = thrust::make_counting_iterator<T… in TestTransformUnaryCountingIterator() 795 …thrust::counting_iterator<T, thrust::host_system_tag> h_first = thrust::make_counting_iterator<T… in TestTransformBinaryCountingIterator() [all …]
|
H A D | is_operator_function_object.cu | 33 thrust::less<T> in test_is_operator_less_function_object() 37 thrust::greater<T> in test_is_operator_less_function_object() 41 thrust::less_equal<T> in test_is_operator_less_function_object() 75 thrust::less<T> in test_is_operator_greater_function_object() 79 thrust::greater<T> in test_is_operator_greater_function_object() 117 thrust::less<T> in test_is_operator_less_or_greater_function_object() 121 thrust::greater<T> in test_is_operator_less_or_greater_function_object() 159 thrust::plus<T> in test_is_operator_plus_function_object() 163 thrust::minus<T> in test_is_operator_plus_function_object() 167 thrust::less<T> in test_is_operator_plus_function_object() [all …]
|
H A D | unique_by_key.cu | 48 thrust::unique_by_key(thrust::retag<my_tag>(vec.begin()), in TestUniqueByKeyDispatchImplicit() 110 thrust::unique_by_key_copy(thrust::retag<my_tag>(vec.begin()), in TestUniqueByKeyCopyDispatchImplicit() 365 thrust::pair<thrust::discard_iterator<>, thrust::discard_iterator<> > h_result1 = in operator ()() 371 thrust::pair<thrust::discard_iterator<>, thrust::discard_iterator<> > d_result1 = in operator ()() 377 thrust::pair<thrust::discard_iterator<>, thrust::discard_iterator<> > reference1 = in operator ()() 386 … thrust::pair<typename thrust::host_vector<K>::iterator, thrust::discard_iterator<> > h_result2 = in operator ()() 392 … thrust::pair<typename thrust::device_vector<K>::iterator, thrust::discard_iterator<> > d_result2 = in operator ()() 398 …thrust::pair<typename thrust::host_vector<K>::iterator, thrust::discard_iterator<> > h_reference2 = in operator ()() 412 … thrust::pair<thrust::discard_iterator<>, typename thrust::host_vector<V>::iterator> h_result3 = in operator ()() 418 … thrust::pair<thrust::discard_iterator<>, typename thrust::device_vector<V>::iterator> d_result3 = in operator ()() [all …]
|
H A D | transform_scan.cu | 62 thrust::transform_inclusive_scan(thrust::retag<my_tag>(vec.begin()), in TestTransformInclusiveScanDispatchImplicit() 129 thrust::transform_exclusive_scan(thrust::retag<my_tag>(vec.begin()), in TestTransformExclusiveScanDispatchImplicit() 157 …iter = thrust::transform_inclusive_scan(input.begin(), input.end(), output.begin(), thrust::negate… in TestTransformScanSimple() 164 …iter = thrust::transform_exclusive_scan(input.begin(), input.end(), output.begin(), thrust::negate… in TestTransformScanSimple() 171 …iter = thrust::transform_exclusive_scan(input.begin(), input.end(), output.begin(), thrust::negate… in TestTransformScanSimple() 179 …iter = thrust::transform_inclusive_scan(input.begin(), input.end(), input.begin(), thrust::negate<… in TestTransformScanSimple() 186 …iter = thrust::transform_exclusive_scan(input.begin(), input.end(), input.begin(), thrust::negate<… in TestTransformScanSimple() 205 …thrust::transform_inclusive_scan(h_input.begin(), h_input.end(), h_output.begin(), thrust::negate<… in operator ()() 206 …thrust::transform_inclusive_scan(d_input.begin(), d_input.end(), d_output.begin(), thrust::negate<… in operator ()() 216 …thrust::transform_inclusive_scan(h_output.begin(), h_output.end(), h_output.begin(), thrust::negat… in operator ()() [all …]
|
H A D | complex_transform.cu | 15 thrust::complex<T> operator()(const thrust::complex<T> &x, in operator ()() 28 thrust::complex<T> operator()(const thrust::complex<T> &x) in operator ()() 39 thrust::complex<T> operator()(const thrust::complex<T> &x, in operator ()() 51 thrust::complex<T> operator()(const thrust::complex<T> &x) in operator ()() 62 thrust::complex<T> operator()(const thrust::complex<T> &x) in operator ()() 72 thrust::complex<T> operator()(const thrust::complex<T> &x) in operator ()() 82 thrust::complex<T> operator()(const thrust::complex<T> &x) in operator ()() 93 thrust::complex<T> operator()(const thrust::complex<T> &x) in operator ()() 103 thrust::complex<T> operator()(const thrust::complex<T> &x) in operator ()() 113 thrust::complex<T> operator()(const thrust::complex<T> &x) in operator ()() [all …]
|
H A D | copy.cu | 78 typedef thrust::tuple<thrust::discard_iterator<>,thrust::host_vector<T>::iterator> Tuple1; in TestCopyToDiscardIteratorZipped() 79 typedef thrust::tuple<thrust::discard_iterator<>,thrust::device_vector<T>::iterator> Tuple2; in TestCopyToDiscardIteratorZipped() 86 …thrust::copy(thrust::make_zip_iterator(thrust::make_tuple(h_input.begin(), h_input… in TestCopyToDiscardIteratorZipped() 88 … thrust::make_zip_iterator(thrust::make_tuple(thrust::make_discard_iterator(), h_output.begin()))); in TestCopyToDiscardIteratorZipped() 92 …thrust::copy(thrust::make_zip_iterator(thrust::make_tuple(d_input.begin(), d_input… in TestCopyToDiscardIteratorZipped() 94 … thrust::make_zip_iterator(thrust::make_tuple(thrust::make_discard_iterator(), d_output.begin()))); in TestCopyToDiscardIteratorZipped() 459 thrust::copy(thrust::make_zip_iterator(thrust::make_tuple(v1.begin(),v2.begin())), in TestCopyZipIterator() 476 thrust::copy(thrust::make_constant_iterator(thrust::tuple<T,T>(4,7)), in TestCopyConstantIteratorToZipIterator() 522 thrust::copy(thrust::retag<my_tag>(vec.begin()), in TestCopyDispatchImplicit() 565 thrust::copy_if(thrust::retag<my_tag>(vec.begin()), in TestCopyIfDispatchImplicit() [all …]
|
H A D | remove.cu | 90 thrust::remove(thrust::retag<my_tag>(vec.begin()), in TestRemoveDispatchImplicit() 173 thrust::remove_copy(thrust::retag<my_tag>(vec.begin()), in TestRemoveCopyDispatchImplicit() 246 thrust::remove_if(thrust::retag<my_tag>(vec.begin()), in TestRemoveIfDispatchImplicit() 334 thrust::remove_if(thrust::retag<my_tag>(vec.begin()), in TestRemoveIfStencilDispatchImplicit() 418 thrust::remove_copy_if(thrust::retag<my_tag>(vec.begin()), in TestRemoveCopyIfDispatchImplicit() 515 thrust::remove_copy_if(thrust::retag<my_tag>(vec.begin()), in TestRemoveCopyIfStencilDispatchImplicit() 643 …typedef thrust::tuple<typename thrust::host_vector<T>::iterator, thrust::discard_iterator<> > Tu… in TestRemoveCopyToDiscardIteratorZipped() 644 …typedef thrust::tuple<typename thrust::device_vector<T>::iterator, thrust::discard_iterator<> > Tu… in TestRemoveCopyToDiscardIteratorZipped() 650 … thrust::remove_copy(thrust::make_zip_iterator(thrust::make_tuple(h_data.begin(), h_data.begin())), in TestRemoveCopyToDiscardIteratorZipped() 652 … thrust::make_zip_iterator(thrust::make_tuple(h_output.begin(),thrust::make_discard_iterator())), in TestRemoveCopyToDiscardIteratorZipped() [all …]
|
H A D | logical.cu | 14 ASSERT_EQUAL(thrust::all_of(v.begin(), v.end(), thrust::identity<T>()), true); in TestAllOf() 18 ASSERT_EQUAL(thrust::all_of(v.begin(), v.end(), thrust::identity<T>()), false); in TestAllOf() 20 ASSERT_EQUAL(thrust::all_of(v.begin() + 0, v.begin() + 0, thrust::identity<T>()), true); in TestAllOf() 21 ASSERT_EQUAL(thrust::all_of(v.begin() + 0, v.begin() + 1, thrust::identity<T>()), true); in TestAllOf() 58 thrust::all_of(thrust::retag<my_tag>(vec.begin()), in TestAllOfDispatchImplicit() 74 ASSERT_EQUAL(thrust::any_of(v.begin(), v.end(), thrust::identity<T>()), true); in TestAnyOf() 78 ASSERT_EQUAL(thrust::any_of(v.begin(), v.end(), thrust::identity<T>()), true); in TestAnyOf() 118 thrust::any_of(thrust::retag<my_tag>(vec.begin()), in TestAnyOfDispatchImplicit() 134 ASSERT_EQUAL(thrust::none_of(v.begin(), v.end(), thrust::identity<T>()), false); in TestNoneOf() 138 ASSERT_EQUAL(thrust::none_of(v.begin(), v.end(), thrust::identity<T>()), false); in TestNoneOf() [all …]
|
H A D | merge_by_key.cu | 74 thrust::merge_by_key(sys, in TestMergeByKeyDispatchExplicit() 114 thrust::merge_by_key(thrust::retag<my_tag>(vec.begin()), in TestMergeByKeyDispatchImplicit() 163 thrust::pair< in TestMergeByKey() 168 thrust::pair< in TestMergeByKey() 217 typedef thrust::pair< in TestMergeByKeyToDiscardIterator() 218 thrust::discard_iterator<>, in TestMergeByKeyToDiscardIterator() 219 thrust::discard_iterator<> in TestMergeByKeyToDiscardIterator() 267 thrust::stable_sort(h_a_keys.begin(), h_a_keys.end(), thrust::greater<T>()); in TestMergeByKeyDescending() 268 thrust::stable_sort(h_b_keys.begin(), h_b_keys.end(), thrust::greater<T>()); in TestMergeByKeyDescending() 283 thrust::pair< in TestMergeByKeyDescending() [all …]
|
H A D | reverse_iterator.cu | 10 thrust::reverse_iterator<thrust::host_vector<int>::iterator> h_iter0(h_v.end()); in TestReverseIteratorCopyConstructor() 11 thrust::reverse_iterator<thrust::host_vector<int>::iterator> h_iter1(h_iter0); in TestReverseIteratorCopyConstructor() 19 thrust::reverse_iterator<thrust::device_vector<int>::iterator> d_iter2(d_v.end()); in TestReverseIteratorCopyConstructor() 20 thrust::reverse_iterator<thrust::device_vector<int>::iterator> d_iter3(d_iter2); in TestReverseIteratorCopyConstructor() 32 thrust::reverse_iterator<thrust::host_vector<int>::iterator> h_iter(h_v.end()); in TestReverseIteratorIncrement() 49 thrust::reverse_iterator<thrust::device_vector<int>::iterator> d_iter(d_v.end()); in TestReverseIteratorIncrement() 75 thrust::copy(thrust::make_reverse_iterator(source.end()), in TestReverseIteratorCopy() 99 thrust::exclusive_scan(thrust::make_reverse_iterator(h_data.end()), in TestReverseIteratorExclusiveScanSimple() 103 thrust::exclusive_scan(thrust::make_reverse_iterator(d_data.end()), in TestReverseIteratorExclusiveScanSimple() 124 thrust::exclusive_scan(thrust::make_reverse_iterator(h_data.end()), in operator ()() [all …]
|
H A D | memory.cu | 110 typedef thrust::pointer<int, thrust::device_system_tag> pointer; in TestGetTemporaryBuffer() 132 typedef thrust::pointer<int, thrust::device_system_tag> pointer; in TestMalloc() 140 ASSERT_EQUAL(true, thrust::all_of(ptr, ptr + n, thrust::placeholders::_1 == ref_val)); in TestMalloc() 142 thrust::free(dev_tag, ptr); in TestMalloc() 161 thrust::malloc(sys, n); in TestMallocDispatchExplicit() 180 thrust::free(sys, ptr); in TestFreeDispatchExplicit() 188 thrust::pair<thrust::pointer<T,my_memory_system>, std::ptrdiff_t> 194 …thrust::pair<thrust::pointer<T, thrust::device_system_tag>, std::ptrdiff_t> result = thrust::get_t… in get_temporary_buffer() 209 typedef thrust::pointer<int, thrust::device_system_tag> pointer; in TestGetTemporaryBufferDispatchExplicit() 210 thrust::pair<pointer, std::ptrdiff_t> ptr_and_sz = thrust::get_temporary_buffer<int>(sys, n); in TestGetTemporaryBufferDispatchExplicit() [all …]
|
H A D | binary_search_vector.cu | 87 thrust::device_vector<int> vec(1); in TestVectorLowerBoundDispatchExplicit() 90 thrust::lower_bound(sys, in TestVectorLowerBoundDispatchExplicit() 111 thrust::device_vector<int> vec(1); in TestVectorLowerBoundDispatchImplicit() 113 thrust::lower_bound(thrust::retag<my_tag>(vec.begin()), in TestVectorLowerBoundDispatchImplicit() 186 thrust::device_vector<int> vec(1); in TestVectorUpperBoundDispatchExplicit() 189 thrust::upper_bound(sys, in TestVectorUpperBoundDispatchExplicit() 210 thrust::device_vector<int> vec(1); in TestVectorUpperBoundDispatchImplicit() 212 thrust::upper_bound(thrust::retag<my_tag>(vec.begin()), in TestVectorUpperBoundDispatchImplicit() 287 thrust::device_vector<int> vec(1); in TestVectorBinarySearchDispatchExplicit() 290 thrust::binary_search(sys, in TestVectorBinarySearchDispatchExplicit() [all …]
|
H A D | scatter.cu | 50 thrust::device_vector<int> vec(1); in TestScatterDispatchExplicit() 53 thrust::scatter(sys, in TestScatterDispatchExplicit() 80 thrust::scatter(thrust::retag<my_tag>(vec.begin()), in TestScatterDispatchImplicit() 131 thrust::scatter(h_input.begin(), h_input.end(), h_map.begin(), thrust::make_discard_iterator()); in TestScatterToDiscardIterator() 132 thrust::scatter(d_input.begin(), d_input.end(), d_map.begin(), thrust::make_discard_iterator()); in TestScatterToDiscardIterator() 185 thrust::scatter_if(sys, in TestScatterIfDispatchExplicit() 215 thrust::scatter_if(thrust::retag<my_tag>(vec.begin()), in TestScatterIfDispatchImplicit() 293 thrust::scatter(thrust::make_counting_iterator(0), thrust::make_counting_iterator(10), in TestScatterCountingIterator() 309 thrust::scatter(thrust::make_counting_iterator(0), thrust::make_counting_iterator(10), in TestScatterCountingIterator() 333 thrust::scatter_if(thrust::make_counting_iterator(0), thrust::make_counting_iterator(10), in TestScatterIfCountingIterator() [all …]
|
/dports/devel/thrust/thrust-1.9.5/thrust/system/detail/generic/ |
H A D | extrema.inl | 36 namespace thrust namespace 68 if(comp(thrust::get<0>(lhs), thrust::get<0>(rhs))) 70 if(comp(thrust::get<0>(rhs), thrust::get<0>(lhs))) 74 if(thrust::get<1>(lhs) < thrust::get<1>(rhs)) 95 if(comp(thrust::get<0>(lhs), thrust::get<0>(rhs))) 97 if(comp(thrust::get<0>(rhs), thrust::get<0>(lhs))) 101 if(thrust::get<1>(lhs) < thrust::get<1>(rhs)) 120 thrust::tuple< thrust::tuple<InputType,IndexType>, thrust::tuple<InputType,IndexType> > 135 thrust::tuple< thrust::tuple<InputType,IndexType>, thrust::tuple<InputType,IndexType> > 184 … thrust::make_zip_iterator(thrust::make_tuple(first, thrust::counting_iterator<IndexType>(0))), [all …]
|
H A D | set_operations.inl | 19 #include <thrust/detail/config.h> 20 #include <thrust/detail/static_assert.h> 22 #include <thrust/functional.h> 28 namespace thrust namespace 51 …return thrust::set_difference(exec, first1, last1, first2, last2, result, thrust::less<value_type>… 120 return thrust::make_pair(thrust::get<0>(result), thrust::get<1>(result)); 209 return thrust::make_pair(thrust::get<0>(result), thrust::get<1>(result)); 295 return thrust::make_pair(thrust::get<0>(result), thrust::get<1>(result)); 312 return thrust::set_union(exec, first1, last1, first2, last2, result, thrust::less<value_type>()); 381 return thrust::make_pair(thrust::get<0>(result), thrust::get<1>(result)); [all …]
|
/dports/devel/thrust/thrust-1.9.5/thrust/detail/ |
H A D | tuple_transform.h | 22 namespace thrust 44 return thrust::null_type(); 51 return thrust::null_type(); 67 return XfrmTuple(f(thrust::get<0>(t))); 76 return XfrmTuple(f(thrust::get<0>(t))); 92 return XfrmTuple(f(thrust::get<0>(t)), 102 return XfrmTuple(f(thrust::get<0>(t)), 119 return XfrmTuple(f(thrust::get<0>(t)), 120 f(thrust::get<1>(t)), 130 return XfrmTuple(f(thrust::get<0>(t)), [all …]
|
/dports/graphics/colmap/colmap-3.6/lib/FLANN/algorithms/ |
H A D | kdtree_cuda_3d_index.cu | 164 thrust::device_vector< int >* gpu_parent_; 165 thrust::device_vector< int >* gpu_child1_; 168 thrust::device_vector<float4>* gpu_points_; 169 thrust::device_vector<int>* gpu_vind_; 371 thrust::device_ptr<float> qd = thrust::device_pointer_cast(queries.ptr()); in knnSearchGpu() 372 thrust::device_ptr<float> dd = thrust::device_pointer_cast(dists.ptr()); in knnSearchGpu() 373 thrust::device_ptr<int> id = thrust::device_pointer_cast(indices.ptr()); in knnSearchGpu() 659 thrust::device_ptr<float> qd=thrust::device_pointer_cast(queries.ptr()); in radiusSearchGpu() 660 thrust::device_ptr<float> dd=thrust::device_pointer_cast(dists.ptr()); in radiusSearchGpu() 661 thrust::device_ptr<int> id=thrust::device_pointer_cast(indices.ptr()); in radiusSearchGpu() [all …]
|
/dports/math/flann/flann-1.9.1-29-g1d04523/src/cpp/flann/algorithms/ |
H A D | kdtree_cuda_3d_index.cu | 165 thrust::device_vector< int >* gpu_parent_; 166 thrust::device_vector< int >* gpu_child1_; 169 thrust::device_vector<float4>* gpu_points_; 170 thrust::device_vector<int>* gpu_vind_; 372 thrust::device_ptr<float> qd = thrust::device_pointer_cast(queries.ptr()); in knnSearchGpu() 373 thrust::device_ptr<float> dd = thrust::device_pointer_cast(dists.ptr()); in knnSearchGpu() 374 thrust::device_ptr<int> id = thrust::device_pointer_cast(indices.ptr()); in knnSearchGpu() 660 thrust::device_ptr<float> qd=thrust::device_pointer_cast(queries.ptr()); in radiusSearchGpu() 661 thrust::device_ptr<float> dd=thrust::device_pointer_cast(dists.ptr()); in radiusSearchGpu() 662 thrust::device_ptr<int> id=thrust::device_pointer_cast(indices.ptr()); in radiusSearchGpu() [all …]
|
/dports/misc/openmvg/openMVG-2.0/src/third_party/flann/src/cpp/flann/algorithms/ |
H A D | kdtree_cuda_3d_index.cu | 164 thrust::device_vector< int >* gpu_parent_; 165 thrust::device_vector< int >* gpu_child1_; 168 thrust::device_vector<float4>* gpu_points_; 169 thrust::device_vector<int>* gpu_vind_; 371 thrust::device_ptr<float> qd = thrust::device_pointer_cast(queries.ptr()); in knnSearchGpu() 372 thrust::device_ptr<float> dd = thrust::device_pointer_cast(dists.ptr()); in knnSearchGpu() 373 thrust::device_ptr<int> id = thrust::device_pointer_cast(indices.ptr()); in knnSearchGpu() 659 thrust::device_ptr<float> qd=thrust::device_pointer_cast(queries.ptr()); in radiusSearchGpu() 660 thrust::device_ptr<float> dd=thrust::device_pointer_cast(dists.ptr()); in radiusSearchGpu() 661 thrust::device_ptr<int> id=thrust::device_pointer_cast(indices.ptr()); in radiusSearchGpu() [all …]
|
/dports/devel/thrust/thrust-1.9.5/testing/backend/cuda/ |
H A D | logical.cu | 98 …ASSERT_EQUAL(thrust::all_of(thrust::cuda::par.on(s), v.begin(), v.end(), thrust::identity<T>()), t… in TestAllOfCudaStreams() 102 …ASSERT_EQUAL(thrust::all_of(thrust::cuda::par.on(s), v.begin(), v.end(), thrust::identity<T>()), f… in TestAllOfCudaStreams() 104 …ASSERT_EQUAL(thrust::all_of(thrust::cuda::par.on(s), v.begin() + 0, v.begin() + 0, thrust::identit… in TestAllOfCudaStreams() 105 …ASSERT_EQUAL(thrust::all_of(thrust::cuda::par.on(s), v.begin() + 0, v.begin() + 1, thrust::identit… in TestAllOfCudaStreams() 106 …ASSERT_EQUAL(thrust::all_of(thrust::cuda::par.on(s), v.begin() + 0, v.begin() + 2, thrust::identit… in TestAllOfCudaStreams() 107 …ASSERT_EQUAL(thrust::all_of(thrust::cuda::par.on(s), v.begin() + 1, v.begin() + 2, thrust::identit… in TestAllOfCudaStreams() 206 …ASSERT_EQUAL(thrust::any_of(thrust::cuda::par.on(s), v.begin(), v.end(), thrust::identity<T>()), t… in TestAnyOfCudaStreams() 210 …ASSERT_EQUAL(thrust::any_of(thrust::cuda::par.on(s), v.begin(), v.end(), thrust::identity<T>()), t… in TestAnyOfCudaStreams() 213 …ASSERT_EQUAL(thrust::any_of(thrust::cuda::par.on(s), v.begin() + 0, v.begin() + 1, thrust::identit… in TestAnyOfCudaStreams() 314 …ASSERT_EQUAL(thrust::none_of(thrust::cuda::par.on(s), v.begin(), v.end(), thrust::identity<T>()), … in TestNoneOfCudaStreams() [all …]
|