From eba11b7939cf384015fa29a6fc2dd05363c40519 Mon Sep 17 00:00:00 2001 From: "Skrobot, Daniel" Date: Wed, 11 Dec 2024 10:34:40 +0100 Subject: [PATCH 1/2] fixed failure that occurred when the same multiple devices were available --- .../sycl_link_different_device_for_sycl_link.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/kernel_bundle/sycl_link_different_device_for_sycl_link.cpp b/tests/kernel_bundle/sycl_link_different_device_for_sycl_link.cpp index 6b81a9a36..ee1ed3ee0 100644 --- a/tests/kernel_bundle/sycl_link_different_device_for_sycl_link.cpp +++ b/tests/kernel_bundle/sycl_link_different_device_for_sycl_link.cpp @@ -41,10 +41,10 @@ class TEST_NAME : public sycl_cts::util::test_base { sycl::queue q{devices[0]}; - const auto first_simple_kernel_id = + const auto first_simple_kernel_id = sycl::get_kernel_id(); auto kernel_bundle = sycl::get_kernel_bundle( - q.get_context(), {first_simple_kernel_id}); + q.get_context(), {q.get_device()}, {first_simple_kernel_id}); vector_with_object_bundles vector_with_kb{kernel_bundle}; expect_throws( From 17bf17d3c2955a912fc6e9dff3021c8c08ecea33 Mon Sep 17 00:00:00 2001 From: "Skrobot, Daniel" Date: Wed, 11 Dec 2024 16:28:57 +0100 Subject: [PATCH 2/2] fixed formatting --- .../kernel_bundle/sycl_link_different_device_for_sycl_link.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/kernel_bundle/sycl_link_different_device_for_sycl_link.cpp b/tests/kernel_bundle/sycl_link_different_device_for_sycl_link.cpp index ee1ed3ee0..907982381 100644 --- a/tests/kernel_bundle/sycl_link_different_device_for_sycl_link.cpp +++ b/tests/kernel_bundle/sycl_link_different_device_for_sycl_link.cpp @@ -41,7 +41,7 @@ class TEST_NAME : public sycl_cts::util::test_base { sycl::queue q{devices[0]}; - const auto first_simple_kernel_id = + const auto first_simple_kernel_id = sycl::get_kernel_id(); auto kernel_bundle = sycl::get_kernel_bundle( q.get_context(), {q.get_device()}, {first_simple_kernel_id});