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
110 PlatformUtil::GetStreamExecutors(platform, options.allowed_devices())); in CreateBackend()
Dplatform_util.cc213 const absl::optional<std::set<int>>& allowed_devices) { in GetStreamExecutors() argument
240 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;
Dservice.h68 const absl::optional<std::set<int>>& allowed_devices);
69 const absl::optional<std::set<int>>& allowed_devices() const;
Dplatform_util.h71 const absl::optional<std::set<int>>& allowed_devices = absl::nullopt);
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_gpu_device.cc101 options.allowed_devices = gpu_ids; in CreateDevices()
Dxla_device.h132 absl::optional<std::set<int>> allowed_devices; member
Dxla_device.cc206 allowed_devices_(options.allowed_devices) { in XlaDevice()