File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ context_impl::~context_impl() {
120
120
try {
121
121
// Free all events associated with the initialization of device globals.
122
122
for (auto &DeviceGlobalInitializer : MDeviceGlobalInitializers)
123
- DeviceGlobalInitializer.second .ClearEvents (& getAdapter ());
123
+ DeviceGlobalInitializer.second .ClearEvents (getAdapter ());
124
124
// Free all device_global USM allocations associated with this context.
125
125
for (const void *DeviceGlobal : MAssociatedDeviceGlobals) {
126
126
DeviceGlobalMapEntry *DGEntry =
@@ -146,7 +146,7 @@ const async_handler &context_impl::get_async_handler() const {
146
146
template <>
147
147
uint32_t context_impl::get_info<info::context::reference_count>() const {
148
148
return get_context_info<info::context::reference_count>(this ->getHandleRef (),
149
- & this ->getAdapter ());
149
+ this ->getAdapter ());
150
150
}
151
151
template <> platform context_impl::get_info<info::context::platform>() const {
152
152
return createSyclObjFromImpl<platform>(*MPlatform);
You can’t perform that action at this time.
0 commit comments