Home
last modified time | relevance | path

Searched refs:shared_buffer (Results 1 – 25 of 49) sorted by relevance

12

/aosp_15_r20/external/rust/android-crates-io/crates/virtio-drivers/src/hal/
Dfake.rs49 let mut shared_buffer = u8::new_box_slice_zeroed(buffer.len()); in share() localVariable
55 .copy_to(shared_buffer.as_mut_ptr(), buffer.len()); in share()
58 let vaddr = Box::into_raw(shared_buffer) as *mut u8 as usize; in share()
67 let shared_buffer = unsafe { in unshare() localVariable
78 .copy_from(shared_buffer.as_ptr(), buffer.len()); in unshare()
/aosp_15_r20/external/executorch/examples/qualcomm/
H A Dutils.py66 shared_buffer=False, argument
84 self.shared_buffer = shared_buffer
149 "--shared_buffer" if self.shared_buffer else "",
253 shared_buffer=False, argument
286 shared_buffer=shared_buffer,
299 alloc_graph_input=not shared_buffer,
300 alloc_graph_output=not shared_buffer,
/aosp_15_r20/external/tensorflow/tensorflow/lite/delegates/gpu/cl/testing/
H A Dmemory_sharing_sample.cc145 Buffer shared_buffer; in RunSample() local
147 CreateReadWriteBuffer(total_size, &env.context(), &shared_buffer)); in RunSample()
150 &env, nullptr, &shared_buffer)); in RunSample()
154 &env, nullptr, &shared_buffer)); in RunSample()
194 const uint64_t runtime_mem_bytes = shared_buffer.GetMemorySizeInBytes(); in RunSample()
/aosp_15_r20/external/executorch/examples/qualcomm/scripts/
H A Dtorchvision_vit.py50 shared_buffer=args.shared_buffer,
64 shared_buffer=args.shared_buffer,
H A Dmobilenet_v3.py58 shared_buffer=args.shared_buffer,
72 shared_buffer=args.shared_buffer,
H A Dinception_v4.py59 shared_buffer=args.shared_buffer,
73 shared_buffer=args.shared_buffer,
H A Dinception_v3.py60 shared_buffer=args.shared_buffer,
74 shared_buffer=args.shared_buffer,
H A Dmobilenet_v2.py60 shared_buffer=args.shared_buffer,
74 shared_buffer=args.shared_buffer,
H A Ddeeplab_v3.py96 shared_buffer=args.shared_buffer,
110 shared_buffer=args.shared_buffer,
H A Dwav2letter.py144 shared_buffer=args.shared_buffer,
158 shared_buffer=args.shared_buffer,
H A Dedsr.py122 shared_buffer=args.shared_buffer,
136 shared_buffer=args.shared_buffer,
H A Dmobilebert_fine_tune.py266 shared_buffer=args.shared_buffer,
312 shared_buffer=args.shared_buffer,
/aosp_15_r20/external/executorch/examples/qualcomm/oss_scripts/
H A DgMLP_image_classification.py60 shared_buffer=args.shared_buffer,
74 shared_buffer=args.shared_buffer,
H A Dretinanet.py242 shared_buffer=args.shared_buffer,
256 shared_buffer=args.shared_buffer,
H A Dsqueezenet.py60 shared_buffer=args.shared_buffer,
H A Ddino_v2.py68 shared_buffer=args.shared_buffer,
H A Dregnet.py69 shared_buffer=args.shared_buffer,
H A Dfbnet.py53 shared_buffer=args.shared_buffer,
/aosp_15_r20/external/executorch/backends/qualcomm/tests/
H A Dtest_qnn_delegate.py76 shared_buffer=TestQNN.shared_buffer,
537 shared_buffer=TestQNN.shared_buffer,
689 shared_buffer=TestQNN.shared_buffer,
1280 shared_buffer=TestQNN.shared_buffer,
1630 TestQNN.shared_buffer = True
1637 shared_buffer=True,
1950 TestQNN.shared_buffer = True
1957 shared_buffer=True,
2620 if self.shared_buffer:
2658 if self.shared_buffer:
[all …]
/aosp_15_r20/external/libchrome/mojo/public/mojom/base/
H A Dshared_memory.mojom10 handle<shared_buffer> buffer;
17 handle<shared_buffer> buffer;
24 handle<shared_buffer> buffer;
/aosp_15_r20/external/tensorflow/tensorflow/lite/delegates/gpu/gl/runtime/
H A DBUILD7 name = "shared_buffer",
8 hdrs = ["shared_buffer.h"],
/aosp_15_r20/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
H A Dinference_context.cc248 Buffer* shared_buffer) { in InitFromGpuModel() argument
254 shared_buffers_parent_ptr_ = shared_buffer; in InitFromGpuModel()
501 Buffer shared_buffer; in AllocateBufferBasedTensors() local
503 context, &shared_buffer)); in AllocateBufferBasedTensors()
505 std::make_unique<Buffer>(std::move(shared_buffer)); in AllocateBufferBasedTensors()
523 Buffer shared_buffer; in AllocateBufferBasedTensors() local
525 CreateReadWriteBuffer(total_size, context, &shared_buffer)); in AllocateBufferBasedTensors()
527 std::make_unique<Buffer>(std::move(shared_buffer)); in AllocateBufferBasedTensors()
/aosp_15_r20/external/executorch/backends/qualcomm/runtime/
H A DCMakeLists.txt45 # shared_buffer
47 shared_buffer PRIVATE ${CMAKE_CURRENT_LIST_DIR}/SharedBuffer.h
/aosp_15_r20/external/executorch/backends/qualcomm/
H A DCMakeLists.txt135 add_library(shared_buffer STATIC) target
183 qnn_manager PRIVATE qnn_factory wrappers qnn_schema utils shared_buffer
194 shared_buffer PRIVATE qnn_executorch_logging ${CMAKE_DL_LIBS}
/aosp_15_r20/external/executorch/examples/qualcomm/executor_runner/
H A Dqnn_executor_runner.cpp50 shared_buffer,
96 CustomMemory(bool shared_buffer) : shared_buffer_(shared_buffer){}; in CustomMemory() argument

12