Add some device discovery support for non-Windows platforms #25228
add apple device_discovery.cc
f5b4d8a1
log discovered devices across platforms
f58ea4dc
save work - linux CPU discovery
d7b598dd
Merge remote-tracking branch 'origin/main' into edgchen1/device_disco…
f34b674c
support parsing hex string to int
6101b999
save work - linux GPU impl
a82a10c3
fix Linux GPU device_id
64e0a82b
Rename onnxruntime/core/platform/device_discovery.cc to device_discov…
3bba3255
finish renaming
0594d5a8
add TODO for vendor name
757d27ab
Merge remote-tracking branch 'origin/main' into edgchen1/device_disco…
3481e992
add default impl, add todo comment for apple
34141a16
Merge remote-tracking branch 'origin/main' into edgchen1/device_disco…
849b3658
clean up code for linux gpu discovery
cc252129
add card_idx to linux gpu metadata
04b0758e
update OrtKeyValuePairs - add copy/move, make data members private, k…
f03f2294
save work - apple cpu discovery
c089033a
fix up cpu vendor detection
55c3a8c9
add check for non-zero detected vendor id
231d3473
fix formatting
9e686ca8
Merge remote-tracking branch 'origin/main' into edgchen1/device_disco…
b474e4fe
fix build error
c53921d2
hardcoded apple device discovery
48c6bb46
fix build issue in onnxruntime_pybind_state.cc
6aa11ab7
Merge remote-tracking branch 'origin/main' into edgchen1/device_disco…
537ab698
enable logging before ORT logging is up
f926cdcb
debug - dump /proc/cpuinfo file lines as they are read
5b8764e0
make /proc/cpuinfo vendor field not mandatory, remove debug output
d0f9653b
Merge remote-tracking branch 'origin/main' into edgchen1/device_disco…
920c821f
update comment
a56c2ff5
Merge remote-tracking branch 'origin/main' into edgchen1/device_disco…
8ef49c25
add some ARM CPU vendor detection support
5b721eca
fix build issues
c31e3369
replace /proc/cpuinfo parsing with cpuinfo library usage
9ae765ab
try enabling vendor id check in test
53dbbf95
add endif comment, remove constexpr on FindCpuVendorInfo() because st…
d9a7a5ab
Merge remote-tracking branch 'origin/main' into edgchen1/device_disco…
46d60a3a
Merge remote-tracking branch 'origin/main' into edgchen1/device_disco…
8dfeb2fd
disable DeviceDiscoveryTest.HasCpuDevice for WASM
1ddd31a2
debugging - dump android logs if java test fails
e1e10145
disable gpu device discovery via sysfs on Android. there are permissi…
3ad0927d
format
6adf61f9
use ExitStack to dump Android logs
100228f5
Merge remote-tracking branch 'origin/main' into edgchen1/device_disco…
b8b5db04
add get CPU device helper function, remove ANDROID handling from linu…
1afaa3ed
remove TODO about extending hex parsing to other types. largely hypot…
cdca7a9a
remove commented out test
35b37961
edgchen1
marked this pull request as ready for review 269 days ago
edgchen1
changed the title [WIP] Add some device discovery support for non-Windows platforms Add some device discovery support for non-Windows platforms 269 days ago
add comment about std::fum_chars not accepting 0x prefix
30370bc5
edgchen1
dismissed their stale review
via 30370bc5
269 days ago
linux - log GPU discovery error instead of throwing exception
c3138a76
edgchen1
dismissed their stale review
via c3138a76
265 days ago
edgchen1
merged
ebcce422
into main 264 days ago
edgchen1
deleted the edgchen1/device_discovery branch 264 days ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub