diff --git a/test/parallel_api/dynamic_selection/sycl/test_auto_tune_policy_sycl.pass.cpp b/test/parallel_api/dynamic_selection/sycl/test_auto_tune_policy_sycl.pass.cpp index f5294f2e382..e24c4c00522 100644 --- a/test/parallel_api/dynamic_selection/sycl/test_auto_tune_policy_sycl.pass.cpp +++ b/test/parallel_api/dynamic_selection/sycl/test_auto_tune_policy_sycl.pass.cpp @@ -492,6 +492,7 @@ main() bool bProcessed = false; #if TEST_DYNAMIC_SELECTION_AVAILABLE +#if !ONEDPL_FPGA_DEVICE || !ONEDPL_FPGA_EMULATOR using policy_t = oneapi::dpl::experimental::auto_tune_policy; std::vector u; build_auto_tune_universe(u); @@ -542,6 +543,7 @@ main() bProcessed = true; } +#endif // Devices available are CPU and GPU #endif // TEST_DYNAMIC_SELECTION_AVAILABLE return TestUtils::done(bProcessed); diff --git a/test/parallel_api/dynamic_selection/sycl/test_dynamic_load_policy_sycl.pass.cpp b/test/parallel_api/dynamic_selection/sycl/test_dynamic_load_policy_sycl.pass.cpp index 17d6de6aa4f..b473892af19 100644 --- a/test/parallel_api/dynamic_selection/sycl/test_dynamic_load_policy_sycl.pass.cpp +++ b/test/parallel_api/dynamic_selection/sycl/test_dynamic_load_policy_sycl.pass.cpp @@ -47,6 +47,7 @@ main() bool bProcessed = false; #if TEST_DYNAMIC_SELECTION_AVAILABLE +#if !ONEDPL_FPGA_DEVICE || !ONEDPL_FPGA_EMULATOR using policy_t = oneapi::dpl::experimental::dynamic_load_policy; std::vector u; build_dl_universe(u); @@ -76,6 +77,7 @@ main() bProcessed = true; } +#endif // Devices available are CPU and GPU #endif // TEST_DYNAMIC_SELECTION_AVAILABLE return TestUtils::done(bProcessed); diff --git a/test/support/utils_sycl.h b/test/support/utils_sycl.h index d88eee142fa..b2f351d716b 100644 --- a/test/support/utils_sycl.h +++ b/test/support/utils_sycl.h @@ -106,7 +106,7 @@ make_new_policy(_Policy&& __policy) #if ONEDPL_FPGA_DEVICE inline auto default_selector = # if ONEDPL_FPGA_EMULATOR - sycl::ext::intel::fpga_emulator_selector{}; + sycl::ext::intel::fpga_emulator_selector_v; # else sycl::ext::intel::fpga_selector{}; # endif // ONEDPL_FPGA_EMULATOR