Class TVMRemoteDevice


public class TVMRemoteDevice extends TVMObject
A session-owned remote device, distinct from a local Device. Its native object retains the session and an ordinary endpoint device type and index. The endpoint descriptor has no session identity by itself. Allocation, queries and synchronization use the owning session and fail after its closure.
  • Constructor Details

    • TVMRemoteDevice

      public TVMRemoteDevice(long handle, int typeIndex)
  • Method Details

    • exist

      public boolean exist()
    • maxThreadsPerBlock

      public long maxThreadsPerBlock()
    • warpSize

      public long warpSize()
    • sync

      public void sync()
    • empty

      public RemoteTensor empty(long[] dimensions, TVMType dtype)
      Allocate remote storage; shape metadata is constructed locally.