Exemplo n.º 1
0
 def done(self):
     """True if all work on this stream has been done."""
     return bool(runtime.streamQuery(self.ptr))
Exemplo n.º 2
0
 def done(self):
     """True if all work on this stream has been done."""
     return runtime.streamQuery(self.ptr) == 0  # cudaSuccess
Exemplo n.º 3
0
 def done(self):
     """True if all work on this stream has been done."""
     return bool(runtime.streamQuery(self.ptr))
Exemplo n.º 4
0
 def done(self):
     """True if all work on this stream has been done."""
     return runtime.streamQuery(self.ptr) == 0  # cudaSuccess