We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d312cf commit ae711abCopy full SHA for ae711ab
sycl/source/detail/device_image_impl.hpp
@@ -221,6 +221,11 @@ class device_image_impl {
221
const detail::plugin &Plugin = getSyclObjImpl(MContext)->getPlugin();
222
Plugin.call<PiApiKind::piProgramRelease>(MProgram);
223
}
224
+ if (MSpecConstsBuffer) {
225
+ std::lock_guard<std::mutex> Lock{MSpecConstAccessMtx};
226
+ const detail::plugin &Plugin = getSyclObjImpl(MContext)->getPlugin();
227
+ memReleaseHelper(Plugin, MSpecConstsBuffer);
228
+ }
229
230
231
private:
0 commit comments