Package org.apache.tvm.rpc
Class TVMRemoteDevice
java.lang.Object
org.apache.tvm.TVMValue
org.apache.tvm.TVMObject
org.apache.tvm.rpc.TVMRemoteDevice
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.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
-
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
Allocate remote storage; shape metadata is constructed locally.
-