Home
last modified time | relevance | path

Searched refs:set_allocator (Results 1 – 25 of 30) sorted by relevance

12

/aosp_15_r20/external/pigweed/pw_allocator/public/pw_allocator/
H A Dpmr_allocator.h57 void set_allocator(Allocator& allocator) { allocator_ = &allocator; } in set_allocator() function
81 memory_resource_.set_allocator(allocator); in PmrAllocator()
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/tests/
H A Dlocal_client_allocation_test.cc54 options.set_allocator(allocator); in XLA_TEST_F()
92 ExecutableRunOptions().set_device_ordinal(d).set_allocator(allocator)); in XLA_TEST_F()
H A Dmultiple_devices_on_host_test.cc44 execute_options.set_allocator( in CompileAndExecute()
H A Dlocal_client_test_base.cc156 run_options.set_allocator(GetOrCreateAllocator(local_client_->platform())); in DefaultExecutableRunOptions()
H A Dlocal_client_execute_test.cc714 DefaultExecutableRunOptions().set_allocator(&allocator)); in XLA_TEST_F()
969 run_options.set_allocator(&allocator).set_stream(stream.get()); in BM_LocalClientOverhead()
H A Dbuffer_donation_test.cc88 run_options.set_allocator(&memory_allocator); in RunAndCheck()
H A Dxla_hlo_profile_test.cc172 exec_run_options.set_allocator(backend->memory_allocator()); in ExecuteAndFetchProfile()
H A Ddynamic_ops_test.cc809 options.set_allocator(&allocator); in BM_DynamicSlice()
H A Dexhaustive_op_test_utils.h276 run_opts.set_allocator(client_->backend().memory_allocator());
/aosp_15_r20/external/pytorch/aten/src/ATen/
H A DStorageUtils.cpp53 origStorageImpl->set_allocator(newStorageImpl->allocator()); in share_memory_()
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/
H A Dexecutable_run_options.cc43 ExecutableRunOptions& ExecutableRunOptions::set_allocator( in set_allocator() function in xla::ExecutableRunOptions
H A Dexecutable_run_options.h85 ExecutableRunOptions& set_allocator(
/aosp_15_r20/external/executorch/runtime/executor/
H A Dtensor_parser_aten.cpp97 storage->set_allocator(at::getCPUAllocator()); in parseTensor()
/aosp_15_r20/external/pytorch/torch/csrc/
H A DStorageSharing.cpp129 storage.unsafeGetStorageImpl()->set_allocator(new_storage.allocator()); in THPStorage_shareFilename()
227 storage.unsafeGetStorageImpl()->set_allocator(new_storage.allocator()); in THPStorage_shareFd()
/aosp_15_r20/external/pytorch/c10/core/
H A DStorageImpl.h193 void set_allocator(at::Allocator* allocator) { in set_allocator() function
/aosp_15_r20/external/tensorflow/tensorflow/compiler/jit/
H A Dxla_compile_on_demand_op.cc91 run_options.set_allocator(allocator); in Run()
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/service/gpu/tests/
H A Dmlir_gpu_test_base.cc81 executable_run_options.set_allocator(backend_->memory_allocator()); in RunMlirModule()
/aosp_15_r20/external/pytorch/aten/src/ATen/native/
H A DResize.cpp311 storage.unsafeGetStorageImpl()->set_allocator( in resize_bytes_nocuda()
/aosp_15_r20/external/tensorflow/tensorflow/core/tpu/
H A Dtpu_execute.cc448 run_options.set_allocator(backend->memory_allocator()); in TPUExecute()
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/service/
H A Dservice.cc430 options.set_allocator(backend->memory_allocator()); in ExecuteParallelAndRegisterResult()
528 options.set_allocator(backend->memory_allocator()); in ExecuteAndRegisterResult()
H A Dhlo_runner.cc478 run_options.set_allocator(backend().memory_allocator()); in GetServiceRunOptionsForDevice()
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/tools/
H A Dreplay_computation.cc314 run_options.set_allocator(&allocator); in ReplayComputation()
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/client/
H A Dlocal_client.cc162 run_options.set_allocator(backend_->memory_allocator()); in RunHelper()
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xrt/kernels/
H A Dxrt_execute_op.cc315 run_options.set_allocator(allocator); in RunExecutable()
/aosp_15_r20/external/tensorflow/tensorflow/compiler/jit/kernels/
H A Dxla_ops.cc182 run_options.set_allocator(allocator); in RunExecutable()

12