Home
last modified time | relevance | path

Searched refs:GetAllocator (Results 1 – 25 of 116) sorted by relevance

12345

/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/
Dtf_framework_c_interface.cc30 Allocator* GetAllocator(void* op_kernel_ctx) { in GetAllocator() function
67 return GetAllocator(op_kernel_ctx) in _mlir_ciface_tf_alloc()
73 GetAllocator(op_kernel_ctx)->DeallocateRaw(ptr); in _mlir_ciface_tf_dealloc()
/external/tensorflow/tensorflow/compiler/jit/
Dxla_platform_info.cc111 se::DeviceMemoryAllocator* GetAllocator( in GetAllocator() function
123 tf_allocator_adapter->emplace(device->GetAllocator({}), platform); in GetAllocator()
126 tf_allocator_adapter->emplace(device->GetAllocator({}), stream); in GetAllocator()
146 GetAllocator(tf_allocator_adapter, device, stream, platform_info); in GenerateCompilerOptions()
Dxla_platform_info.h97 se::DeviceMemoryAllocator* GetAllocator(
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_device_factory.cc44 Allocator* GetAllocator(AllocatorAttributes attr) override { in GetAllocator() function in tensorflow::GPUDevice
95 Allocator* GetAllocator(AllocatorAttributes attr) override { in GetAllocator() function in tensorflow::GPUCompatibleCPUDevice
101 return ThreadPoolDevice::GetAllocator(attr); in GetAllocator()
/external/tensorflow/tensorflow/core/common_runtime/
Dscoped_allocator_mgr_test.cc149 ScopedAllocator* other = sac->GetAllocator(scope_id_); in TEST_F()
154 other = sac->GetAllocator(scope_id_); in TEST_F()
171 EXPECT_EQ(nullptr, sac->GetAllocator(scope_id_)); in TEST_F()
Drenamed_device.h57 Allocator* GetAllocator(AllocatorAttributes attr) override { in GetAllocator() function
58 return underlying_device_->GetAllocator(attr); in GetAllocator()
Dthreadpool_device.h32 Allocator* GetAllocator(AllocatorAttributes attr) override;
Dcomposite_device.h39 Allocator* GetAllocator(AllocatorAttributes) override { return nullptr; } in GetAllocator() function
Dsingle_threaded_cpu_device.cc85 Allocator* GetAllocator(AllocatorAttributes attr) override { in GetAllocator() function in tensorflow::__anonfe4177f40111::SingleThreadedCpuDevice
Ddevice_mgr_test.cc35 Allocator* GetAllocator(AllocatorAttributes) override { return nullptr; } in CreateDevice() function in tensorflow::__anon1a2a6eb00111::CreateDevice::FakeDevice
/external/tensorflow/tensorflow/core/kernels/
Dops_testutil.cc81 allocator_ = device_->GetAllocator(AllocatorAttributes()); in OpsTestBase()
121 allocator_ = device_->GetAllocator(AllocatorAttributes()); in SetDevice()
127 allocator_ = device_->GetAllocator(AllocatorAttributes()); in SetDevice()
Dstack.cc247 Allocator* allocator = device->GetAllocator(alloc_attrs); in ComputeAsync()
256 Allocator* cpu_allocator = device->GetAllocator(host_alloc_attrs); in ComputeAsync()
305 Allocator* gpu_allocator = device->GetAllocator(value.alloc_attrs); in ComputeAsync()
/external/tensorflow/tensorflow/core/kernels/image/
Dresize_area_op_test.cc45 Tensor* input = new Tensor(device_->GetAllocator(AllocatorAttributes()), in SetRandomImageInput()
157 new Tensor(device_->GetAllocator(AllocatorAttributes()), in RunRandomTest()
/external/tensorflow/tensorflow/core/framework/
Dresource_op_kernel_test.cc41 Allocator* GetAllocator(AllocatorAttributes) override { in GetAllocator() function in tensorflow::__anon1ebbe4430111::StubDevice
101 DEVICE_CPU, &device_, device_.GetAllocator(AllocatorAttributes()), in CreateOp()
Ddevice_base.h181 virtual Allocator* GetAllocator(AllocatorAttributes /*attr*/) { in GetAllocator() function
190 return GetAllocator(attr); in GetStepAllocator()
Dallocator.cc70 AllocatorFactoryRegistry::singleton()->GetAllocator(); in cpu_allocator_base()
/external/tensorflow/tensorflow/core/tpu/
Dvirtual_device.h30 Allocator* GetAllocator(AllocatorAttributes attr) override;
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_compilation_device.h53 Allocator* GetAllocator(AllocatorAttributes attr) override;
/external/tensorflow/tensorflow/core/grappler/optimizers/
Devaluation_utils.h44 Allocator* GetAllocator(AllocatorAttributes attr) override { in GetAllocator() function
/external/abseil-cpp/absl/container/internal/
Dinlined_vector.h182 AllocatorTraits::deallocate(GetAllocator(), GetData(), GetCapacity()); in ~AllocationTransaction()
189 AllocatorType& GetAllocator() { return alloc_data_.template get<0>(); } in GetAllocator() function
195 GetData() = AllocatorTraits::allocate(GetAllocator(), capacity); in Allocate()
222 inlined_vector_internal::DestroyElements(std::addressof(GetAllocator()), in ~ConstructionTransaction()
230 AllocatorType& GetAllocator() { return alloc_data_.template get<0>(); } in GetAllocator() function
237 inlined_vector_internal::ConstructElements(std::addressof(GetAllocator()), in Construct()
/external/webrtc/third_party/abseil-cpp/absl/container/internal/
Dinlined_vector.h182 AllocatorTraits::deallocate(GetAllocator(), GetData(), GetCapacity()); in ~AllocationTransaction()
189 AllocatorType& GetAllocator() { return alloc_data_.template get<0>(); } in GetAllocator() function
195 GetData() = AllocatorTraits::allocate(GetAllocator(), capacity); in Allocate()
222 inlined_vector_internal::DestroyElements(std::addressof(GetAllocator()), in ~ConstructionTransaction()
230 AllocatorType& GetAllocator() { return alloc_data_.template get<0>(); } in GetAllocator() function
237 inlined_vector_internal::ConstructElements(std::addressof(GetAllocator()), in Construct()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/internal/
Dinlined_vector.h182 AllocatorTraits::deallocate(GetAllocator(), GetData(), GetCapacity()); in ~AllocationTransaction()
189 AllocatorType& GetAllocator() { return alloc_data_.template get<0>(); } in GetAllocator() function
195 GetData() = AllocatorTraits::allocate(GetAllocator(), capacity); in Allocate()
222 inlined_vector_internal::DestroyElements(std::addressof(GetAllocator()), in ~ConstructionTransaction()
230 AllocatorType& GetAllocator() { return alloc_data_.template get<0>(); } in GetAllocator() function
237 inlined_vector_internal::ConstructElements(std::addressof(GetAllocator()), in Construct()
/external/openscreen/third_party/abseil/src/absl/container/internal/
Dinlined_vector.h182 AllocatorTraits::deallocate(GetAllocator(), GetData(), GetCapacity()); in ~AllocationTransaction()
189 AllocatorType& GetAllocator() { return alloc_data_.template get<0>(); } in GetAllocator() function
195 GetData() = AllocatorTraits::allocate(GetAllocator(), capacity); in Allocate()
222 inlined_vector_internal::DestroyElements(std::addressof(GetAllocator()), in ~ConstructionTransaction()
230 AllocatorType& GetAllocator() { return alloc_data_.template get<0>(); } in GetAllocator() function
237 inlined_vector_internal::ConstructElements(std::addressof(GetAllocator()), in Construct()
/external/libtextclassifier/abseil-cpp/absl/container/internal/
Dinlined_vector.h182 AllocatorTraits::deallocate(GetAllocator(), GetData(), GetCapacity()); in ~AllocationTransaction()
189 AllocatorType& GetAllocator() { return alloc_data_.template get<0>(); } in GetAllocator() function
195 GetData() = AllocatorTraits::allocate(GetAllocator(), capacity); in Allocate()
222 inlined_vector_internal::DestroyElements(std::addressof(GetAllocator()), in ~ConstructionTransaction()
230 AllocatorType& GetAllocator() { return alloc_data_.template get<0>(); } in GetAllocator() function
237 inlined_vector_internal::ConstructElements(std::addressof(GetAllocator()), in Construct()
/external/tensorflow/tensorflow/core/kernels/sparse/
Dzeros_op.h58 Allocator* allocator = c->device()->GetAllocator(AllocatorAttributes()); in operator()

12345