Skip to content
This repository was archived by the owner on Mar 2, 2026. It is now read-only.

Commit 48dea87

Browse files
authored
[SYCL][E2E] Fix Vulkan interop test build on Windows (intel#21121)
We need to disable this warning. This is already done in most of the existing tests, but it was missed in these ones. Example in existing test [here](https://github.com/intel/llvm/blob/sycl/sycl/test-e2e/bindless_images/vulkan_interop/buffer_usm.cpp#L4). Signed-off-by: Nick Sarnie <nick.sarnie@intel.com>
1 parent 3458464 commit 48dea87

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎sycl/test-e2e/bindless_images/vulkan_interop/mipmaps.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// REQUIRES: aspect-ext_oneapi_mipmap
44
// REQUIRES: vulkan
55

6-
// RUN: %{build} %link-vulkan -o %t.out
6+
// RUN: %{build} %link-vulkan -o %t.out %if target-spir %{ -Wno-ignored-attributes %}
77
// RUN: %{run} %t.out
88

99
// Uncomment to print additional test information

‎sycl/test-e2e/bindless_images/vulkan_interop/sampled_images_USM.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// REQUIRES: aspect-ext_oneapi_external_memory_import
33
// REQUIRES: vulkan
44

5-
// RUN: %{build} %link-vulkan -o %t.out
5+
// RUN: %{build} %link-vulkan -o %t.out %if target-spir %{ -Wno-ignored-attributes %}
66
// RUN: %{run} %t.out
77

88
#include "../../CommonUtils/vulkan_common.hpp"

‎sycl/test-e2e/bindless_images/vulkan_interop/sampled_images_semaphore.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// REQUIRES: target-nvidia || (windows && level_zero && aspect-ext_oneapi_bindless_images)
33
// REQUIRES: vulkan
44

5-
// RUN: %{build} %link-vulkan -o %t.out
5+
// RUN: %{build} %link-vulkan -o %t.out %if target-spir %{ -Wno-ignored-attributes %}
66
// RUN: %{run} %t.out
77

88
#define TEST_SEMAPHORE_IMPORT

‎sycl/test-e2e/bindless_images/vulkan_interop/unsampled_images_semaphore.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// REQUIRES: aspect-ext_oneapi_external_memory_import
44
// REQUIRES: vulkan
55

6-
// RUN: %{build} %link-vulkan -o %t.out
6+
// RUN: %{build} %link-vulkan -o %t.out %if target-spir %{ -Wno-ignored-attributes %}
77
// RUN: %{run} %t.out
88

99
#define TEST_SEMAPHORE_IMPORT

0 commit comments

Comments
 (0)