Home
last modified time | relevance | path

Searched refs:a_check (Results 1 – 3 of 3) sorted by relevance

/llvm-project/offload/test/offloading/
H A Dcomplex_reduction.cpp11 std::complex<T> a(0.2, 1), a_check; in test_map() local
12 #pragma omp target map(from : a_check) in test_map()
13 { a_check = a; } in test_map()
15 if (std::abs(a - a_check) > 1e-6) { in test_map()
16 std::cout << "wrong map value check" << a_check << " correct value " << a in test_map()
H A Dbug49021.cpp10 T a(0.2), a_check; in test_map() local
11 #pragma omp target map(from : a_check) in test_map()
12 { a_check = a; } in test_map()
14 if (a_check != a) { in test_map()
H A Dstd_complex_arithmetic.cpp16 std::complex<T> a(0.2, 1), a_check; in test_map() local
17 #pragma omp target map(from : a_check) in test_map()
18 { a_check = a; } in test_map()
20 assert(std::abs(a - a_check) < 1e-6); in test_map()