diff --git a/include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl_merge_sort.h b/include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl_merge_sort.h index 1f5b5a22add..664b8455d5f 100644 --- a/include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl_merge_sort.h +++ b/include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl_merge_sort.h @@ -330,6 +330,11 @@ struct __merge_sort_global_submitter<_IndexT, __internal::__optional_kernel_name { } }; + // Clang 17 and earlier, as well as other compilers based on them, such as DPC++ 2023.2 + // are prone to https://github.com/llvm/llvm-project/issues/46200, + // which prevents automatic template argument deduction of a nested class. + template + DropViews(Rng&, const WorkDataArea&) -> DropViews; template std::size_t