Home
last modified time | relevance | path

Searched refs:default_device_ordinal (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/gpu/tests/
Dmlir_gpu_test_base.cc118 ->Allocate(backend_->default_device_ordinal(), host_buffer.size()) in RunMlirModuleWithHostBuffers()
121 auto stream = backend_->BorrowStream(backend_->default_device_ordinal()) in RunMlirModuleWithHostBuffers()
168 auto stream = backend_->BorrowStream(backend_->default_device_ordinal()) in CompileMlirText()
/external/tensorflow/tensorflow/compiler/xla/client/
Dlocal_client.cc38 device_ordinal = backend->default_device_ordinal(); in BorrowStreamForDevice()
85 : backend_->default_device_ordinal(); in ValidateExecutionOptions()
344 int LocalClient::default_device_ordinal() const { in default_device_ordinal() function in xla::LocalClient
345 return local_service_->backend().default_device_ordinal(); in default_device_ordinal()
362 updated_options.set_device_ordinal(default_device_ordinal()); in Compile()
Dlocal_client.h200 int default_device_ordinal() const;
/external/tensorflow/tensorflow/compiler/xla/tests/
Dlocal_client_execute_test.cc719 LOG(INFO) << "default device = " << local_client_->default_device_ordinal(); in XLA_TEST_F()
722 ->ExecutorForDevice(local_client_->default_device_ordinal()) in XLA_TEST_F()
839 literal, local_client_->default_device_ordinal(), allocator_)); in XLA_TEST_F()
879 literal, local_client_->default_device_ordinal(), allocator_)); in XLA_TEST_F()
914 local_client_->default_device_ordinal())); in XLA_TEST_F()
938 local_client_->default_device_ordinal())); in XLA_TEST_F()
942 local_client_->default_device_ordinal(), &result)); in XLA_TEST_F()
957 int device_ordinal = client->default_device_ordinal(); in BM_LocalClientOverhead()
Dxla_hlo_profile_test.cc142 backend->BorrowStream(backend->default_device_ordinal())); in ExecuteAndFetchProfile()
147 lhs_arg_shape, allocator, backend->default_device_ordinal())); in ExecuteAndFetchProfile()
154 rhs_arg_shape, allocator, backend->default_device_ordinal())); in ExecuteAndFetchProfile()
Dlocal_client_test_base.cc141 ->LiteralToShapedBuffer(literal, local_client_->default_device_ordinal()) in LiteralToShapedBuffer()
Ddynamic_ops_test.cc761 int device_ordinal = client->default_device_ordinal(); in BM_DynamicSlice()
Dcpu_gpu_fusion_test.cc841 int device_ordinal = client->default_device_ordinal(); in BM_ParallelFusion()
Ddot_operation_test.cc1823 int device_ordinal = client->default_device_ordinal(); in DOT_ReorderContracting()
/external/tensorflow/tensorflow/compiler/xla/service/
Dbackend.h102 int default_device_ordinal() const;
Dbackend.cc147 int Backend::default_device_ordinal() const { in default_device_ordinal() function in xla::Backend
Dhlo_runner.cc53 backend().default_device_ordinal())); in TransferLiteralToDevice()
166 GetServiceRunOptionsForDevice(backend().default_device_ordinal(), &stream, in ExecuteWithDeviceBuffers()
/external/tensorflow/tensorflow/compiler/jit/
Dxla_compile_on_demand_op.cc57 client, allocator, client->default_device_ordinal(), in Run()
Dxla_compilation_cache.cc171 : client_->default_device_ordinal()); in BuildExecutable()
/external/tensorflow/tensorflow/compiler/jit/kernels/
Dxla_ops.cc256 : client->default_device_ordinal(); in Compute()
474 : closure.client()->default_device_ordinal(); in Compute()