Changeset View
Changeset View
Standalone View
Standalone View
openmp/libomptarget/test/offloading/bug49021.cpp
// RUN: %libomptarget-compilexx-generic -O3 && %libomptarget-run-generic | // RUN: %libomptarget-compilexx-generic -O3 && %libomptarget-run-generic | ||||
// Hangs | // Hangs | ||||
// UNSUPPORTED: amdgcn-amd-amdhsa | // UNSUPPORTED: amdgcn-amd-amdhsa | ||||
// UNSUPPORTED: amdgcn-amd-amdhsa-oldDriver | |||||
// UNSUPPORTED: amdgcn-amd-amdhsa-LTO | // UNSUPPORTED: amdgcn-amd-amdhsa-LTO | ||||
#include <iostream> | #include <iostream> | ||||
template <typename T> int test_map() { | template <typename T> int test_map() { | ||||
std::cout << "map(complex<>)" << std::endl; | std::cout << "map(complex<>)" << std::endl; | ||||
T a(0.2), a_check; | T a(0.2), a_check; | ||||
#pragma omp target map(from : a_check) | #pragma omp target map(from : a_check) | ||||
▲ Show 20 Lines • Show All 73 Lines • Show Last 20 Lines |