MCPcopy Create free account
hub / github.com/apache/tvm-ffi / __cuda_stream__

Method __cuda_stream__

tests/python/test_device.py:125–126  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

123 self.stream = stream
124
125 def __cuda_stream__(self) -> tuple[str, int]:
126 return ("cuda", self.stream)
127
128 stream = MyDummyStream(1)
129 echo = tvm_ffi.get_global_func("testing.echo")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected