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 use-after-free for MockHandler::getKernelName() (#18801)
In current implementation, std::string is returned from getKernelName().
For preview, caller of getKernelName() creates std::string_view from the
returned temporary string. This sting_view is used after the temporary
string is destroyed. In the fix for preview std::string_view is
returned, that points to same kernel name as handler::MKernel.
0 commit comments