Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
testCudaStreamCreate
Method · 0.95
Calls
2
stream_device_type
Method · 0.95
fromValue
Method · 0.95
Tested by
1
testCudaStreamCreate
Method · 0.76