mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-07-01 13:57:02 -04:00
Allow device call exceptions to propagate after cleanup
This commit is contained in:
@ -647,7 +647,8 @@ class PTXEntryPoint(PTXFragment):
|
||||
try:
|
||||
self._call(ctx, func, *args, **kwargs)
|
||||
finally:
|
||||
return ctx.call_teardown(self)
|
||||
res = ctx.call_teardown(self)
|
||||
return res
|
||||
|
||||
class PTXTestFailure(Exception): pass
|
||||
|
||||
|
Reference in New Issue
Block a user