diff --git a/src/lapack/backends/rocsolver/rocsolver_scope_handle.hpp b/src/lapack/backends/rocsolver/rocsolver_scope_handle.hpp index fe661f14a..c9144481d 100644 --- a/src/lapack/backends/rocsolver/rocsolver_scope_handle.hpp +++ b/src/lapack/backends/rocsolver/rocsolver_scope_handle.hpp @@ -33,6 +33,18 @@ #include "rocsolver_helper.hpp" #include "rocsolver_handle.hpp" +// After Plugin Interface removal in DPC++ ur.hpp is the new include +#if __has_include() +#include +#ifndef _PI_INTERFACE_REMOVED_ +#define _PI_INTERFACE_REMOVED_ +#endif +#elif __has_include() +#include +#else +#include +#endif + namespace oneapi { namespace mkl { namespace lapack {