Searched refs:a_check (Results 1 – 3 of 3) sorted by relevance
11 std::complex<T> a(0.2, 1), a_check; in test_map() local12 #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()
10 T a(0.2), a_check; in test_map() local11 #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()
16 std::complex<T> a(0.2, 1), a_check; in test_map() local17 #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()