/aosp_15_r20/external/rust/android-crates-io/crates/virtio-drivers/src/hal/ |
D | fake.rs | 49 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 D | utils.py | 66 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 D | memory_sharing_sample.cc | 145 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 D | torchvision_vit.py | 50 shared_buffer=args.shared_buffer, 64 shared_buffer=args.shared_buffer,
|
H A D | mobilenet_v3.py | 58 shared_buffer=args.shared_buffer, 72 shared_buffer=args.shared_buffer,
|
H A D | inception_v4.py | 59 shared_buffer=args.shared_buffer, 73 shared_buffer=args.shared_buffer,
|
H A D | inception_v3.py | 60 shared_buffer=args.shared_buffer, 74 shared_buffer=args.shared_buffer,
|
H A D | mobilenet_v2.py | 60 shared_buffer=args.shared_buffer, 74 shared_buffer=args.shared_buffer,
|
H A D | deeplab_v3.py | 96 shared_buffer=args.shared_buffer, 110 shared_buffer=args.shared_buffer,
|
H A D | wav2letter.py | 144 shared_buffer=args.shared_buffer, 158 shared_buffer=args.shared_buffer,
|
H A D | edsr.py | 122 shared_buffer=args.shared_buffer, 136 shared_buffer=args.shared_buffer,
|
H A D | mobilebert_fine_tune.py | 266 shared_buffer=args.shared_buffer, 312 shared_buffer=args.shared_buffer,
|
/aosp_15_r20/external/executorch/examples/qualcomm/oss_scripts/ |
H A D | gMLP_image_classification.py | 60 shared_buffer=args.shared_buffer, 74 shared_buffer=args.shared_buffer,
|
H A D | retinanet.py | 242 shared_buffer=args.shared_buffer, 256 shared_buffer=args.shared_buffer,
|
H A D | squeezenet.py | 60 shared_buffer=args.shared_buffer,
|
H A D | dino_v2.py | 68 shared_buffer=args.shared_buffer,
|
H A D | regnet.py | 69 shared_buffer=args.shared_buffer,
|
H A D | fbnet.py | 53 shared_buffer=args.shared_buffer,
|
/aosp_15_r20/external/executorch/backends/qualcomm/tests/ |
H A D | test_qnn_delegate.py | 76 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 D | shared_memory.mojom | 10 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 D | BUILD | 7 name = "shared_buffer", 8 hdrs = ["shared_buffer.h"],
|
/aosp_15_r20/external/tensorflow/tensorflow/lite/delegates/gpu/cl/ |
H A D | inference_context.cc | 248 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 D | CMakeLists.txt | 45 # shared_buffer 47 shared_buffer PRIVATE ${CMAKE_CURRENT_LIST_DIR}/SharedBuffer.h
|
/aosp_15_r20/external/executorch/backends/qualcomm/ |
H A D | CMakeLists.txt | 135 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 D | qnn_executor_runner.cpp | 50 shared_buffer, 96 CustomMemory(bool shared_buffer) : shared_buffer_(shared_buffer){}; in CustomMemory() argument
|