File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -219,13 +219,11 @@ TEST_F(SchedulerTest, NoHostUnifiedMemory) {
219
219
cl_mem MockInteropBuffer = reinterpret_cast <cl_mem>(1 );
220
220
context InteropContext = Q.get_context ();
221
221
InteropPiContext = detail::getSyclObjImpl (InteropContext)->getHandleRef ();
222
- std::shared_ptr<detail::buffer_impl> BufI =
223
- std::make_shared<detail::buffer_impl>(
224
- detail::pi::cast<pi_native_handle>(MockInteropBuffer),
225
- Q.get_context (),
226
- make_unique_ptr<detail::SYCLMemObjAllocatorHolder<
227
- detail::default_buffer_allocator<char >, char >>(),
228
- /* OwnNativeHandle */ true , event ());
222
+ auto BufI = std::make_shared<detail::buffer_impl>(
223
+ detail::pi::cast<pi_native_handle>(MockInteropBuffer), Q.get_context (),
224
+ make_unique_ptr<detail::SYCLMemObjAllocatorHolder<
225
+ detail::default_buffer_allocator<char >, char >>(),
226
+ /* OwnNativeHandle */ true , event ());
229
227
230
228
detail::Requirement Req = getMockRequirement ();
231
229
Req.MSYCLMemObj = BufI.get ();
You can’t perform that action at this time.
0 commit comments