9 lines · plain
1// REQUIRES: nvptx-registered-target2 3// RUN: %clang_cc1 -triple nvptx -fcuda-is-device \4// RUN: -fgpu-allow-device-init \5// RUN: %s 2>&1 | FileCheck %s6 7// CHECK: warning: '-fgpu-allow-device-init' is ignored since it is only supported for HIP8 9