MCPcopy Create free account
hub / github.com/BabitMF/bmf / deviceType

Method deviceType

bmf/hmp/java/src/main/java/com/bytedance/hmp/Stream.java:61–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59 }
60
61 public DeviceType deviceType()
62 {
63 int v = Api.stream_device_type(ptr);
64 return (DeviceType)EnumUtil.fromValue(DeviceType.class, v);
65 }
66
67 public int deviceIndex()
68 {

Callers 1

testCudaStreamCreateMethod · 0.95

Calls 2

stream_device_typeMethod · 0.95
fromValueMethod · 0.95

Tested by 1

testCudaStreamCreateMethod · 0.76