Add QNN EP HTP shared memory allocator #23136
save work
110a3bca
save work
0ba3a2fb
add logging for setting QNN tensor memory, update comment
8436b14a
add option to enable HTP shared memory allocator to onnxruntime_perf_…
c9826f44
hack - try to cache mem handles in QnnModel
c07c35e5
Remove duplicate include.
60dc8374
hack, continued - move cache out to SharedContext
24e072f0
Merge remote-tracking branch 'origin/main' into edgchen1/qnn_ep_rpcmem
e66cbef2
move mem handle registration to allocator
8c515dab
hook up some test code
18e2780b
Merge remote-tracking branch 'origin/main' into edgchen1/qnn_ep_rpcmem
09ddce59
rename to RpcMemAllocator to HtpSharedMemoryAllocator
a65bb71c
Merge remote-tracking branch 'origin/main' into edgchen1/qnn_ep_rpcmem
bfb135ed
remove onnx protobuf dependency from allocator.h, add shared provider…
f179a0d8
remove unused CPUAllocator::TensorAlloc declaration
7645ef45
Check for nullptr when trying to free
10437328
move mem handle management to QNN backend manager
022f4bcb
remove IAllocator::TensorAlloc()
c527dee2
document IAllocator::Free
e4f72b36
remove IAllocator__TensorAlloc
39ff9012
Merge remote-tracking branch 'origin/main' into edgchen1/qnn_ep_rpcmem
1bed5a45
fix android build warning
d70db84e
remove shared mem handles from shared context
45ef8837
remove allocation clean up callback removal, use weak_ptrs in allocat…
d2e7b3c5
some clean up
c892c18e
more clean up
b295eef0
add helper to get qnn error message
13f5e308
use make_shared for QnnBackendManager
d5eace13
add test to qnn_basic_test.cc, document allocator parameter.
bacbcdc1
Merge remote-tracking branch 'origin/main' into edgchen1/qnn_ep_rpcmem
30cd9edb
rename variables
b29ab610
revert changes to onnxruntime/test/providers/qnn/max_min_op_test.cc
67a54b89
fix formatting
c0569e22
skip test if not android and not windows
dd45c84b
update comment
959d8df0
remove QnnBackendManager::ReleaseQnnContextMemHandles declaration, up…
ab48516b
add onnxruntime_c_api.h include to ortmemoryinfo.h
4a3f6c39
Merge remote-tracking branch 'origin/main' into edgchen1/qnn_ep_rpcmem
65ce4b1a
rename GetQnnTensorDataSize to GetQnnTensorDataSizeInBytes
ff125413
add QnnBackendManager::Create function to ensure shared_ptr usage
5e6e1039
make some QnnBackendManager member functions private, update comment
78e86cc7
edgchen1
marked this pull request as ready for review 357 days ago
edgchen1
changed the title [WIP] Add QNN EP HTP shared memory allocator Add QNN EP HTP shared memory allocator 357 days ago
document GetOrRegister functions
e665a2b8
add enable_htp_shared_memory_allocator to available_keys
425023b2
Merge remote-tracking branch 'origin/main' into edgchen1/qnn_ep_rpcmem
781a4a02
make DlError return const char*
4d292081
Use ORT_DISALLOW_COPY_ASSIGNMENT_AND_MOVE for SharedContext
568c9a73
use safeint instead of manually checking against int max
8b955358
add/update doc for enable_htp_shared_memory_allocator option
515999c2
formatting
6986839e
add some comments about HtpSharedmemoryAllocator impl
00b286b9
initialize with QNN_MEM_DESRIPTOR_INIT
88dec645
address comments
4ca3ea75
rework context handle ownership
7a88c3f4
add / update tests
f3730353
add check for qnn tensor dynamic shape
e86ff2eb
Add comment about multi-threading considerations
6fa33f0b
fix test comment
4101cca6
fix formatting
14af7ad6
add ifdef to use htp backend if on arm64 or linux.
2f5c93c9
Merge remote-tracking branch 'origin/main' into edgchen1/qnn_ep_rpcmem
b868a9f6
fix typo
7ca45523
edgchen1
merged
04030f64
into main 349 days ago
edgchen1
deleted the edgchen1/qnn_ep_rpcmem branch 349 days ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub