diff --git a/sycl/include/sycl/ext/oneapi/backend/level_zero.hpp b/sycl/include/sycl/ext/oneapi/backend/level_zero.hpp index d9e369feac5f7..7ff2845f6bde4 100644 --- a/sycl/include/sycl/ext/oneapi/backend/level_zero.hpp +++ b/sycl/include/sycl/ext/oneapi/backend/level_zero.hpp @@ -83,8 +83,6 @@ inline std::optional find_matching_descendent_device( return maybe_device; } } - - assert(false && "Unexpected partitioning scheme for a Level-Zero device!"); } return {};