mirror of
				https://github.com/stevenrobertson/cuburn.git
				synced 2025-11-03 18:00:55 -05: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