bolt/deps/llvm-18.1.8/clang/test/Frontend/warn-device-init-fun.cu

9 lines
257 B
Text
Raw Normal View History

2025-02-14 19:21:04 +01:00
// REQUIRES: nvptx-registered-target
// RUN: %clang_cc1 -triple nvptx -fcuda-is-device \
// RUN: -fgpu-allow-device-init \
// RUN: %s 2>&1 | FileCheck %s
// CHECK: warning: '-fgpu-allow-device-init' is ignored since it is only supported for HIP