Home
last modified time | relevance | path

Searched refs:allowed_devices (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/client/
Dclient_library.cc30 const absl::optional<std::set<int>>& allowed_devices) in LocalClientOptions() argument
34 allowed_devices_(allowed_devices) {} in LocalClientOptions()
64 const absl::optional<std::set<int>>& allowed_devices) { in set_allowed_devices() argument
65 allowed_devices_ = allowed_devices; in set_allowed_devices()
69 const absl::optional<std::set<int>>& LocalClientOptions::allowed_devices() in allowed_devices() function in xla::LocalClientOptions
111 service_options.set_allowed_devices(options.allowed_devices()); in GetOrCreateLocalClient()
Dclient_library.h51 const absl::optional<std::set<int>>& allowed_devices = absl::nullopt);
69 const absl::optional<std::set<int>>& allowed_devices);
70 const absl::optional<std::set<int>>& allowed_devices() const;
90 const absl::optional<std::set<int>>& allowed_devices = absl::nullopt);
/external/tensorflow/tensorflow/compiler/xla/service/
Dbackend.cc60 const absl::optional<std::set<int>>& allowed_devices) { in set_allowed_devices() argument
61 allowed_devices_ = allowed_devices; in set_allowed_devices()
65 const absl::optional<std::set<int>>& BackendOptions::allowed_devices() const { in allowed_devices() function in xla::BackendOptions
88 PlatformUtil::GetStreamExecutors(platform, options.allowed_devices())); in CreateBackend()
Dplatform_util.cc167 const absl::optional<std::set<int>>& allowed_devices) { in GetStreamExecutors() argument
194 if (allowed_devices && allowed_devices->count(i) == 0) { in GetStreamExecutors()
Dbackend.h61 const absl::optional<std::set<int>>& allowed_devices);
62 const absl::optional<std::set<int>>& allowed_devices() const;
Dplatform_util.h59 const absl::optional<std::set<int>>& allowed_devices = absl::nullopt);
Dservice.h68 const absl::optional<std::set<int>>& allowed_devices);
69 const absl::optional<std::set<int>>& allowed_devices() const;
Dlocal_service.cc57 .set_allowed_devices(options.allowed_devices()); in NewService()
Dservice.cc124 const absl::optional<std::set<int>>& allowed_devices) { in set_allowed_devices() argument
125 allowed_devices_ = allowed_devices; in set_allowed_devices()
129 const absl::optional<std::set<int>>& ServiceOptions::allowed_devices() const { in allowed_devices() function in xla::ServiceOptions
149 backend_options.set_allowed_devices(options.allowed_devices()); in NewService()
/external/tensorflow/tensorflow/compiler/jit/
Dxla_device.h132 absl::optional<std::set<int>> allowed_devices; member
Dxla_gpu_device.cc156 options.allowed_devices = gpu_ids; in CreateDevices()
Dxla_device.cc213 allowed_devices_(options.allowed_devices) { in XlaDevice()