Restore GPU executor commented catch guidance
This commit is contained in:
1 parent
75f815567d
commit
37ab77e5db
1 file changed
+9
@@ -115,6 +115,15 @@ public static partial class ULongExtensions
|
|||||||
exponentBuffer.Dispose();
|
exponentBuffer.Dispose();
|
||||||
execution.Dispose();
|
execution.Dispose();
|
||||||
lease.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.
|
// Intentionally avoid exception handling here; any accelerator failure should crash the scanner.
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user