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