File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -128,12 +128,14 @@ class ManagedDeviceBinaries {
128128
129129 ManagedDeviceBinaries (const ManagedDeviceBinaries &) = delete ;
130130
131- ~ManagedDeviceBinaries () try {
132- ProgramManager::getInstance ().removeImages (MBinaries);
133- syclex::detail::SYCL_JIT_Destroy (MBinaries);
134- } catch (std::exception &e) {
135- __SYCL_REPORT_EXCEPTION_TO_STREAM (
136- " exception during unregistration of SYCL binaries" , e);
131+ ~ManagedDeviceBinaries () {
132+ try {
133+ ProgramManager::getInstance ().removeImages (MBinaries);
134+ syclex::detail::SYCL_JIT_Destroy (MBinaries);
135+ } catch (std::exception &e) {
136+ __SYCL_REPORT_EXCEPTION_TO_STREAM (
137+ " exception during unregistration of SYCL binaries" , e);
138+ }
137139 }
138140
139141private:
You can’t perform that action at this time.
0 commit comments