You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SYCL] Fix unqiue_ptr out-of-memory checks in scheduler (#4592)
Select places in the scheduler incorrectly assumes a unique pointer to be null
when explicit allocations passed as parameter fails due to the host being out of
memory. These changes correct these through the use of std::make_unique.
Additionally, Scheduler::GraphBuilder::connectDepEvent assumed the same for a
raw pointer, whilst not checking the creation of its constituent unique
pointers. Allocation here is now governed by a catch of `std::bad_alloc`.
Signed-off-by: Steffen Larsen <steffen.larsen@intel.com>
0 commit comments