Home
last modified time | relevance | path

Searched refs:vcl_v2 (Results 1 – 17 of 17) sorted by relevance

/dports/math/viennacl/ViennaCL-1.7.1/tests/src/
H A Dvector_float_double.cpp662 vcl_v1 = viennacl::linalg::inner_prod(vcl_v1, vcl_v2) * vcl_v2; in test()
1499 vcl_v1 = vcl_v2 + vcl_v1 + vcl_v2; in test()
1592 vcl_v1 = viennacl::linalg::element_prod(vcl_v1 + vcl_v2, vcl_v2); in test()
1600 vcl_v1 += viennacl::linalg::element_prod(vcl_v1 + vcl_v2, vcl_v2); in test()
1698 vcl_v1 = viennacl::linalg::element_div(vcl_v1 + vcl_v2, vcl_v2); in test()
1705 vcl_v1 += viennacl::linalg::element_div(vcl_v1 + vcl_v2, vcl_v2); in test()
1712 vcl_v1 -= viennacl::linalg::element_div(vcl_v1 + vcl_v2, vcl_v2); in test()
1816 vcl_v1 = viennacl::linalg::element_pow(vcl_v1 + vcl_v2, vcl_v2); in test()
1829 vcl_v1 += viennacl::linalg::element_pow(vcl_v1 + vcl_v2, vcl_v2); in test()
1842 vcl_v1 -= viennacl::linalg::element_pow(vcl_v1 + vcl_v2, vcl_v2); in test()
[all …]
H A Dvector_float_double.cu662 vcl_v1 = viennacl::linalg::inner_prod(vcl_v1, vcl_v2) * vcl_v2; in test()
1499 vcl_v1 = vcl_v2 + vcl_v1 + vcl_v2; in test()
1592 vcl_v1 = viennacl::linalg::element_prod(vcl_v1 + vcl_v2, vcl_v2); in test()
1600 vcl_v1 += viennacl::linalg::element_prod(vcl_v1 + vcl_v2, vcl_v2); in test()
1698 vcl_v1 = viennacl::linalg::element_div(vcl_v1 + vcl_v2, vcl_v2); in test()
1705 vcl_v1 += viennacl::linalg::element_div(vcl_v1 + vcl_v2, vcl_v2); in test()
1712 vcl_v1 -= viennacl::linalg::element_div(vcl_v1 + vcl_v2, vcl_v2); in test()
1816 vcl_v1 = viennacl::linalg::element_pow(vcl_v1 + vcl_v2, vcl_v2); in test()
1829 vcl_v1 += viennacl::linalg::element_pow(vcl_v1 + vcl_v2, vcl_v2); in test()
1842 vcl_v1 -= viennacl::linalg::element_pow(vcl_v1 + vcl_v2, vcl_v2); in test()
[all …]
H A Dvector_int.cpp180 gpu_result = viennacl::linalg::inner_prod(vcl_v1 + vcl_v2, vcl_v2 - vcl_v1); in test()
477 vcl_v1 += vcl_v2; in test()
501 vcl_v1 -= vcl_v2; in test()
1230 vcl_v1 = vcl_v2 + vcl_v1 + vcl_v2; in test()
1283 vcl_v1 = -vcl_v2; in test()
1318 vcl_v1 = viennacl::linalg::element_prod(vcl_v1 + vcl_v2, vcl_v2); in test()
1326 vcl_v1 += viennacl::linalg::element_prod(vcl_v1 + vcl_v2, vcl_v2); in test()
1334 vcl_v1 -= viennacl::linalg::element_prod(vcl_v1 + vcl_v2, vcl_v2); in test()
1424 vcl_v1 = viennacl::linalg::element_div(vcl_v1 + vcl_v2, vcl_v2); in test()
1431 vcl_v1 += viennacl::linalg::element_div(vcl_v1 + vcl_v2, vcl_v2); in test()
[all …]
H A Dvector_int.cu180 gpu_result = viennacl::linalg::inner_prod(vcl_v1 + vcl_v2, vcl_v2 - vcl_v1); in test()
477 vcl_v1 += vcl_v2; in test()
501 vcl_v1 -= vcl_v2; in test()
1230 vcl_v1 = vcl_v2 + vcl_v1 + vcl_v2; in test()
1283 vcl_v1 = -vcl_v2; in test()
1318 vcl_v1 = viennacl::linalg::element_prod(vcl_v1 + vcl_v2, vcl_v2); in test()
1326 vcl_v1 += viennacl::linalg::element_prod(vcl_v1 + vcl_v2, vcl_v2); in test()
1334 vcl_v1 -= viennacl::linalg::element_prod(vcl_v1 + vcl_v2, vcl_v2); in test()
1424 vcl_v1 = viennacl::linalg::element_div(vcl_v1 + vcl_v2, vcl_v2); in test()
1431 vcl_v1 += viennacl::linalg::element_div(vcl_v1 + vcl_v2, vcl_v2); in test()
[all …]
H A Dvector_uint.cpp182 NumericT cpu_result3 = viennacl::linalg::inner_prod(vcl_v1 + vcl_v2, 2*vcl_v2); in test()
183 gpu_result = viennacl::linalg::inner_prod(vcl_v1 + vcl_v2, 2*vcl_v2); in test()
449 vcl_v1 += vcl_v2; in test()
763 vcl_v1 = vcl_v2 + vcl_v1 + vcl_v2; in test()
776 swap(vcl_v1, vcl_v2); in test()
802 vcl_v1 = viennacl::linalg::element_prod(vcl_v1 + vcl_v2, vcl_v2); in test()
810 vcl_v1 += viennacl::linalg::element_prod(vcl_v1 + vcl_v2, vcl_v2); in test()
836 vcl_v1 = viennacl::linalg::element_prod(vcl_v1 + vcl_v2, vcl_v2 + vcl_v1); in test()
877 vcl_v1 = viennacl::linalg::element_div(vcl_v1 + vcl_v2, vcl_v2); in test()
884 vcl_v1 += viennacl::linalg::element_div(vcl_v1 + vcl_v2, vcl_v2); in test()
[all …]
H A Dvector_uint.cu182 NumericT cpu_result3 = viennacl::linalg::inner_prod(vcl_v1 + vcl_v2, 2*vcl_v2); in test()
183 gpu_result = viennacl::linalg::inner_prod(vcl_v1 + vcl_v2, 2*vcl_v2); in test()
449 vcl_v1 += vcl_v2; in test()
763 vcl_v1 = vcl_v2 + vcl_v1 + vcl_v2; in test()
776 swap(vcl_v1, vcl_v2); in test()
802 vcl_v1 = viennacl::linalg::element_prod(vcl_v1 + vcl_v2, vcl_v2); in test()
810 vcl_v1 += viennacl::linalg::element_prod(vcl_v1 + vcl_v2, vcl_v2); in test()
836 vcl_v1 = viennacl::linalg::element_prod(vcl_v1 + vcl_v2, vcl_v2 + vcl_v1); in test()
877 vcl_v1 = viennacl::linalg::element_div(vcl_v1 + vcl_v2, vcl_v2); in test()
884 vcl_v1 += viennacl::linalg::element_div(vcl_v1 + vcl_v2, vcl_v2); in test()
[all …]
H A Dscheduler_vector.cpp178 if (check(std_v2, vcl_v2, epsilon) != EXIT_SUCCESS) in test()
379 …_statement(vcl_v1, viennacl::op_assign(), viennacl::linalg::element_prod(vcl_v1 + vcl_v2, vcl_v2)); in test()
425 …y_statement(vcl_v1, viennacl::op_assign(), viennacl::linalg::element_div(vcl_v1 + vcl_v2, vcl_v2)); in test()
447 …nt(vcl_v1, viennacl::op_assign(), viennacl::linalg::element_div(vcl_v1 - vcl_v2, vcl_v2 + vcl_v1)); in test()
463 viennacl::copy(std_v2, vcl_v2); in test()
482 viennacl::copy(std_v2, vcl_v2); in test()
486 …y_statement(vcl_v1, viennacl::op_assign(), viennacl::linalg::element_pow(vcl_v1 + vcl_v2, vcl_v2)); in test()
501 viennacl::copy(std_v2, vcl_v2); in test()
520 viennacl::copy(std_v2, vcl_v2); in test()
524 …nt(vcl_v1, viennacl::op_assign(), viennacl::linalg::element_pow(vcl_v1 - vcl_v2, vcl_v2 + vcl_v1)); in test()
[all …]
H A Dscheduler_matrix_vector.cpp115 viennacl::copy(std_v2.begin(), std_v2.end(), vcl_v2.begin()); in test_prod_rank1()
233 viennacl::copy(std_v2.begin(), std_v2.end(), vcl_v2.begin()); in test_prod_rank1()
317 if ( std::fabs(diff(std_v2, vcl_v2)) > epsilon ) in test_prod_rank1()
335 if ( std::fabs(diff(std_v2, vcl_v2)) > epsilon ) in test_prod_rank1()
353 if ( std::fabs(diff(std_v2, vcl_v2)) > epsilon ) in test_prod_rank1()
370 …:statement my_statement(vcl_v2, viennacl::op_assign(), alpha * viennacl::linalg::prod(trans(vcl_… in test_prod_rank1()
374 if ( std::fabs(diff(std_v2, vcl_v2)) > epsilon ) in test_prod_rank1()
390 …tatement my_statement(vcl_v2, viennacl::op_inplace_add(), alpha * viennacl::linalg::prod(trans(v… in test_prod_rank1()
394 if ( std::fabs(diff(std_v2, vcl_v2)) > epsilon ) in test_prod_rank1()
410 …tatement my_statement(vcl_v2, viennacl::op_inplace_sub(), alpha * viennacl::linalg::prod(trans(v… in test_prod_rank1()
[all …]
H A Dmatrix_vector.cpp242 vcl_v1 = viennacl::linalg::prod(vcl_m1 + vcl_m1, vcl_v2 + vcl_v2); in test_prod_rank1()
264 if ( std::fabs(diff(std_v2, vcl_v2)) > epsilon ) in test_prod_rank1()
279 vcl_v2 = alpha * viennacl::linalg::prod(trans(vcl_m1), vcl_v1) + beta * vcl_v2; in test_prod_rank1()
281 if ( std::fabs(diff(std_v2, vcl_v2)) > epsilon ) in test_prod_rank1()
330 vcl_v2 = viennacl::linalg::column_sum(vcl_m1); in test_prod_rank1()
332 if ( std::fabs(diff(std_v2, vcl_v2)) > epsilon ) in test_prod_rank1()
349 if ( std::fabs(diff(std_v2, vcl_v2)) > epsilon ) in test_prod_rank1()
364 vcl_v2 = row(vcl_m1, std::size_t(7)); in test_prod_rank1()
366 if ( std::fabs(diff(std_v2, vcl_v2)) > epsilon ) in test_prod_rank1()
395 vcl_v2 = diag(vcl_m1, static_cast<int>(-3)); in test_prod_rank1()
[all …]
H A Dmatrix_vector.cu242 vcl_v1 = viennacl::linalg::prod(vcl_m1 + vcl_m1, vcl_v2 + vcl_v2); in test_prod_rank1()
264 if ( std::fabs(diff(std_v2, vcl_v2)) > epsilon ) in test_prod_rank1()
279 vcl_v2 = alpha * viennacl::linalg::prod(trans(vcl_m1), vcl_v1) + beta * vcl_v2; in test_prod_rank1()
281 if ( std::fabs(diff(std_v2, vcl_v2)) > epsilon ) in test_prod_rank1()
330 vcl_v2 = viennacl::linalg::column_sum(vcl_m1); in test_prod_rank1()
332 if ( std::fabs(diff(std_v2, vcl_v2)) > epsilon ) in test_prod_rank1()
349 if ( std::fabs(diff(std_v2, vcl_v2)) > epsilon ) in test_prod_rank1()
364 vcl_v2 = row(vcl_m1, std::size_t(7)); in test_prod_rank1()
366 if ( std::fabs(diff(std_v2, vcl_v2)) > epsilon ) in test_prod_rank1()
395 vcl_v2 = diag(vcl_m1, static_cast<int>(-3)); in test_prod_rank1()
[all …]
H A Dmatrix_vector_int.cpp104 viennacl::copy(std_v2.begin(), std_v2.end(), vcl_v2.begin()); in test_prod_rank1()
113 vcl_m1 += viennacl::linalg::outer_prod(vcl_v1, vcl_v2); in test_prod_rank1()
164 vcl_v1 = viennacl::linalg::prod(vcl_m1, vcl_v2); in test_prod_rank1()
177 viennacl::copy(std_v2.begin(), std_v2.end(), vcl_v2.begin()); in test_prod_rank1()
209 if ( diff(std_v2, vcl_v2) != 0 ) in test_prod_rank1()
224 vcl_v2 = alpha * viennacl::linalg::prod(trans(vcl_m1), vcl_v1) + beta * vcl_v2; in test_prod_rank1()
226 if ( diff(std_v2, vcl_v2) != 0 ) in test_prod_rank1()
279 vcl_v2 = viennacl::linalg::column_sum(vcl_m1); in test_prod_rank1()
281 if ( diff(std_v2, vcl_v2) != 0 ) in test_prod_rank1()
297 vcl_v2 = viennacl::linalg::column_sum(vcl_m1 + vcl_m1); in test_prod_rank1()
[all …]
H A Dmatrix_vector_int.cu104 viennacl::copy(std_v2.begin(), std_v2.end(), vcl_v2.begin()); in test_prod_rank1()
113 vcl_m1 += viennacl::linalg::outer_prod(vcl_v1, vcl_v2); in test_prod_rank1()
164 vcl_v1 = viennacl::linalg::prod(vcl_m1, vcl_v2); in test_prod_rank1()
177 viennacl::copy(std_v2.begin(), std_v2.end(), vcl_v2.begin()); in test_prod_rank1()
209 if ( diff(std_v2, vcl_v2) != 0 ) in test_prod_rank1()
224 vcl_v2 = alpha * viennacl::linalg::prod(trans(vcl_m1), vcl_v1) + beta * vcl_v2; in test_prod_rank1()
226 if ( diff(std_v2, vcl_v2) != 0 ) in test_prod_rank1()
279 vcl_v2 = viennacl::linalg::column_sum(vcl_m1); in test_prod_rank1()
281 if ( diff(std_v2, vcl_v2) != 0 ) in test_prod_rank1()
297 vcl_v2 = viennacl::linalg::column_sum(vcl_m1 + vcl_m1); in test_prod_rank1()
[all …]
H A Dvector_multi_inner_prod.cu140 viennacl::copy(std_v2.begin(), std_v2.end(), vcl_v2.begin()); in test()
147 if (check(std_v2, vcl_v2, epsilon) != EXIT_SUCCESS) in test()
233 … 5)) = viennacl::linalg::inner_prod(vcl_v1, viennacl::tie(vcl_v1, vcl_v2, vcl_v3, vcl_v4, vcl_v2)); in test()
246 … 5)) = viennacl::linalg::inner_prod(vcl_v1, viennacl::tie(vcl_v3, vcl_v2, vcl_v4, vcl_v1, vcl_v2)); in test()
266 vecs1[1] = &vcl_v2; in test()
270 vecs1[5] = &vcl_v2; in test()
272 vecs1[7] = &vcl_v2; in test()
291 vecs2[0] = &vcl_v2; in test()
294 vecs2[3] = &vcl_v2; in test()
295 vecs2[4] = &vcl_v2; in test()
[all …]
H A Dvector_multi_inner_prod.cpp140 viennacl::copy(std_v2.begin(), std_v2.end(), vcl_v2.begin()); in test()
147 if (check(std_v2, vcl_v2, epsilon) != EXIT_SUCCESS) in test()
233 … 5)) = viennacl::linalg::inner_prod(vcl_v1, viennacl::tie(vcl_v1, vcl_v2, vcl_v3, vcl_v4, vcl_v2)); in test()
246 … 5)) = viennacl::linalg::inner_prod(vcl_v1, viennacl::tie(vcl_v3, vcl_v2, vcl_v4, vcl_v1, vcl_v2)); in test()
266 vecs1[1] = &vcl_v2; in test()
270 vecs1[5] = &vcl_v2; in test()
272 vecs1[7] = &vcl_v2; in test()
291 vecs2[0] = &vcl_v2; in test()
294 vecs2[3] = &vcl_v2; in test()
295 vecs2[4] = &vcl_v2; in test()
[all …]
/dports/math/viennacl/ViennaCL-1.7.1/examples/tutorial/
H A Dvector-range.cpp87 VCLVectorType vcl_v2(dim_small); in main() local
90 viennacl::copy(ublas_v2, vcl_v2); in main()
H A Dvector-range.cu87 VCLVectorType vcl_v2(dim_small); in main() local
90 viennacl::copy(ublas_v2, vcl_v2); in main()
/dports/lang/pocl/pocl-1.8/examples/ViennaCL/
H A Dvector_double-test-opencl.stdout17 ** vcl_v1 = vector, vcl_v2 = vector **
115 ** vcl_v1 = vector, vcl_v2 = range **
213 ** vcl_v1 = vector, vcl_v2 = slice **
311 ** vcl_v1 = range, vcl_v2 = vector **
409 ** vcl_v1 = range, vcl_v2 = range **
507 ** vcl_v1 = range, vcl_v2 = slice **
605 ** vcl_v1 = slice, vcl_v2 = vector **
703 ** vcl_v1 = slice, vcl_v2 = range **
801 ** vcl_v1 = slice, vcl_v2 = slice **