Skip to content

Commit c33085c

Browse files
committed
apply suggested changes
1 parent 2d76e4b commit c33085c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/source/detail/device_image_impl.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ class device_image_impl {
223223
if (MSpecConstsBuffer) {
224224
std::lock_guard<std::mutex> Lock{MSpecConstAccessMtx};
225225
const detail::plugin &Plugin = getSyclObjImpl(MContext)->getPlugin();
226-
Plugin.call<PiApiKind::piMemRelease>(MSpecConstsBuffer);
226+
memReleaseHelper(Plugin, MSpecConstsBuffer);
227227
}
228228
}
229229

0 commit comments

Comments
 (0)