Files
clang-p2996/clang/test/Driver/hip-launch-api.hip
Fangrui Song 63fbc77121 [Driver][test] Remove unused/obsoleted REQUIRES: clang-driver
It (introduced by 556d713c70) appears to be
related to the removed dragonegg project. In addition, the feature was a bit
misnamed and may lur users to unnecessarily use it.
2022-04-12 13:29:46 -07:00

17 lines
653 B
Plaintext

// REQUIRES: x86-registered-target
// REQUIRES: amdgpu-registered-target
// By default FE assumes -fhip-new-launch-api.
// RUN: %clang -### -target x86_64-unknown-linux-gnu -offload-arch=gfx906 %s \
// RUN: 2>&1 | FileCheck -check-prefixes=NEW %s
// NEW: "-fhip-new-launch-api"
// RUN: %clang -### -target x86_64-unknown-linux-gnu -offload-arch=gfx906 %s \
// RUN: -fhip-new-launch-api 2>&1 | FileCheck -check-prefixes=NEW %s
// NEW: "-fhip-new-launch-api"
// RUN: %clang -### -target x86_64-unknown-linux-gnu -offload-arch=gfx906 %s \
// RUN: -fno-hip-new-launch-api 2>&1 | FileCheck -check-prefixes=OLD %s
// OLD-NOT: "-fhip-new-launch-api"