1 /* { dg-skip-if "" { *-*-* } } */
3 #pragma acc routine nohost
6 /* Make sure this fails host compilation. */
7 #if defined ACC_DEVICE_TYPE_host
9 #elif defined ACC_DEVICE_TYPE_nvidia
10 asm ("{\n\t .reg .u32 %tid_x;\n\t mov.u32 %tid_x, %tid.x;\n\t}");
11 #elif defined ACC_DEVICE_TYPE_radeon
14 # error Not ported to this ACC_DEVICE_TYPE