Beispiel #1
0
 def __del__(self):
     with cudart.device(self.device_id):
         cudart.cuda_stream_destroy(self.cuda_stream)
Beispiel #2
0
 def __del__(self):
     cudart.cuda_stream_destroy(self.cuda_stream)
Beispiel #3
0
 def __del__(self):
     with cudart.device(self.device_id):
         cudart.cuda_stream_destroy(self.cuda_stream)
Beispiel #4
0
 def __del__(self):
     cudart.cuda_stream_destroy(self.cuda_stream)