Skip to content

Commit eb615f5

Browse files
committed
AMDHIP: Add -Wno-error=deprecated-pragma for __AMDGCN_WAVEFRONT_SIZE
Fix build failures: /__w/llvm/llvm/toolchain/bin//clang++ -Werror -Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=gfx1030 -fsycl -fsycl-targets=amdgcn-amd-amdhsa /__w/llvm/llvm/llvm/sycl/test-e2e/HostInteropTask/interop-task-hip.cpp -Wno-error=deprecated-declarations -o /__w/llvm/llvm/build-e2e/HostInteropTask/Output/interop-task-hip.cpp.tmp.out -I/opt/rocm/include -L/opt/rocm/lib -lamdhip64
1 parent 68c6e93 commit eb615f5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sycl/test-e2e/EnqueueNativeCommand/custom-command-hip.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// FIXME: the rocm include path and link path are highly platform dependent,
22
// we should set this with some variable instead.
3-
// RUN: %{build} -o %t.out -I%rocm_path/include -L%rocm_path/lib -lamdhip64
3+
// RUN: %{build} -Wno-error=deprecated-pragma -o %t.out -I%rocm_path/include -L%rocm_path/lib -lamdhip64
44
// RUN: %{run} %t.out
55
// REQUIRES: hip
66
// REQUIRES: build-and-run-mode

sycl/test-e2e/HostInteropTask/interop-task-hip.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// FIXME: the rocm include path and link path are highly platform dependent,
22
// we should set this with some variable instead.
3-
// RUN: %{build} -Wno-error=deprecated-declarations -o %t.out -I%rocm_path/include -L%rocm_path/lib -lamdhip64
3+
// RUN: %{build} -Wno-error=deprecated-pragma -Wno-error=deprecated-declarations -o %t.out -I%rocm_path/include -L%rocm_path/lib -lamdhip64
44
// RUN: %{run} %t.out
55
// REQUIRES: hip
66
// REQUIRES: build-and-run-mode

0 commit comments

Comments
 (0)