Home
last modified time | relevance | path

Searched refs:host1 (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/clang/test/SemaCUDA/
H A Dopenmp-target.cu19 void host1() {bazz();} // expected-error {{function with 'device_type(nohost)' is not available on … in host1() function
20 #pragma omp declare target to(host1) device_type(host)
23 void device() {host1();} in device()
25 void host3() {host1();} in host3()
30 void any2() {host1();} in any2()
36 void any6() {host1();} in any6()
/llvm-project-15.0.7/clang/test/OpenMP/
H A Ddeclare_target_messages.cpp208 void host1() {bazz();} // host5-error {{function with 'device_type(nohost)' is not available on hos… in host1() function
209 #pragma omp declare target to(host1) device_type(host) // omp45-error {{unexpected 'device_type' cl…
212 void device() {host1();} // dev5-error {{function with 'device_type(host)' is not available on devi… in device()
214 void host3() {host1();} // dev5-error {{function with 'device_type(host)' is not available on devic… in host3()
219 void any2() {host1();} // dev5-error {{function with 'device_type(host)' is not available on device… in any2()
225 void any6() {host1();} in any6()