We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d39951 commit 090127dCopy full SHA for 090127d
clang/test/Driver/sycl-oneapi-gpu-amdgpu.cpp
@@ -124,9 +124,9 @@
124
// DEVICE_AMD: clang-offload-wrapper{{.*}} "-compile-opts=--offload-arch=[[DEV_STR]]{{.*}}"
125
126
/// test for invalid amd arch
127
-// RUN: not %clangxx -c -fsycl -fsycl-targets=amd_gpu_bad -### %s 2>&1 | \
+// RUN: not %clangxx -c -fsycl -nogpulib -fsycl-targets=amd_gpu_bad -### %s 2>&1 | \
128
// RUN: FileCheck %s --check-prefix=BAD_AMD_INPUT
129
-// RUN: not %clang_cl -c -fsycl -fsycl-targets=amd_gpu_bad -### %s 2>&1 | \
+// RUN: not %clang_cl -c -fsycl -fsycl-targets=amd_gpu_bad --rocm-device-lib-path=/Inputs/rocm/amdgcn/bitcode -### %s 2>&1 | \
130
131
// BAD_AMD_INPUT: error: SYCL target is invalid: 'amd_gpu_bad'
132
0 commit comments