Restore GPU executor commented catch guidance

This commit is contained in:
Marek Lemańczyk committed 2025-10-19 06:10:54 +02:00
1 parent 75f815567d
commit 37ab77e5db
1 file changed
+9
@@ -115,6 +115,15 @@ public static partial class ULongExtensions
exponentBuffer.Dispose();
execution.Dispose();
lease.Dispose();
// Keep this commented. We don't want to catch any exceptions. All should crash the scanner.
// catch (AcceleratorException)
// {
// return false;
// }
// catch (NotSupportedException)
// {
// return false;
// }
// Intentionally avoid exception handling here; any accelerator failure should crash the scanner.
return true;
}