Home
last modified time | relevance | path

Searched refs:device_options (Results 1 – 25 of 28) sorted by relevance

12

/external/tensorflow/tensorflow/stream_executor/
Dexecutor_cache.cc48 iter.first.device_options == config.device_options) { in GetOrCreate()
90 iter.first.device_options == config.device_options) { in Get()
DBUILD63 "device_options.h",
117 "device_options.h",
308 name = "device_options",
309 hdrs = ["device_options.h"],
320 "device_options.h",
465 ":device_options",
554 "device_options.h",
603 "device_options.h",
Dplatform.cc84 : ordinal(-1), device_options(DeviceOptions::Default()) {} in StreamExecutorConfig()
87 : ordinal(ordinal_in), device_options(DeviceOptions::Default()) {} in StreamExecutorConfig()
Dplatform.h89 DeviceOptions device_options; member
Dstream_executor_internal.h179 DeviceOptions device_options) = 0;
Dstream_executor_pimpl.cc186 port::Status StreamExecutor::Init(DeviceOptions device_options) { in Init() argument
187 return implementation_->Init(device_ordinal_, std::move(device_options)); in Init()
Dstream_executor_pimpl.h83 port::Status Init(DeviceOptions device_options);
/external/tensorflow/tensorflow/stream_executor/host/
Dhost_platform.cc53 config.device_options = DeviceOptions::Default(); in ExecutorForDevice()
62 config.device_options = DeviceOptions::Default(); in ExecutorForDeviceWithPluginConfig()
77 auto init_status = executor->Init(config.device_options); in GetUncachedExecutor()
Dhost_gpu_executor.cc49 DeviceOptions device_options) { in Init() argument
51 device_options.non_portable_tags.find("host_thread_stack_size_in_bytes"); in Init()
52 if (it != device_options.non_portable_tags.end()) { in Init()
Dhost_gpu_executor.h51 port::Status Init(int device_ordinal, DeviceOptions device_options) override;
/external/tensorflow/tensorflow/compiler/xla/service/interpreter/
Dplatform.cc55 config.device_options = DeviceOptions::Default(); in ExecutorForDevice()
65 config.device_options = DeviceOptions::Default(); in ExecutorForDeviceWithPluginConfig()
81 auto init_status = executor->Init(config.device_options); in GetUncachedExecutor()
Dexecutor.h56 port::Status Init(int device_ordinal, DeviceOptions device_options) override { in Init() argument
/external/tensorflow/tensorflow/stream_executor/rocm/
Drocm_platform.cc116 config.device_options = DeviceOptions::Default(); in ExecutorForDevice()
125 config.device_options = DeviceOptions::Default(); in ExecutorForDeviceWithPluginConfig()
140 auto init_status = executor->Init(config.device_options); in GetUncachedExecutor()
DBUILD56 "//tensorflow/stream_executor:device_options",
Drocm_gpu_executor.cc161 DeviceOptions device_options) { in Init() argument
174 status = GpuDriver::CreateContext(device_ordinal_, device_, device_options, in Init()
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_platform.cc153 config.device_options = GetDeviceOptionsFromEnv(); in ExecutorForDevice()
162 config.device_options = GetDeviceOptionsFromEnv(); in ExecutorForDeviceWithPluginConfig()
177 auto init_status = executor->Init(config.device_options); in GetUncachedExecutor()
Dcuda_driver.cc366 bool DeviceOptionsToContextFlags(const DeviceOptions& device_options, in DeviceOptionsToContextFlags() argument
371 if (device_options.flags() & DeviceOptions::kDoNotReclaimStackAllocation) { in DeviceOptionsToContextFlags()
377 if (device_options.flags() & DeviceOptions::kScheduleSpin) { in DeviceOptionsToContextFlags()
380 if (device_options.flags() & DeviceOptions::kScheduleYield) { in DeviceOptionsToContextFlags()
383 if (device_options.flags() & DeviceOptions::kScheduleBlockingSync) { in DeviceOptionsToContextFlags()
391 int device_ordinal, CUdevice device, const DeviceOptions& device_options, in CreateContext() argument
396 if (!DeviceOptionsToContextFlags(device_options, &flags)) { in CreateContext()
Dcuda_gpu_executor.cc131 DeviceOptions device_options) { in Init() argument
144 status = GpuDriver::CreateContext(device_ordinal_, device_, device_options, in Init()
/external/tensorflow/tensorflow/compiler/xla/pjrt/
Dcpu_device.cc49 config.device_options.non_portable_tags["host_thread_stack_size_in_bytes"] = in GetCpuClient()
/external/tensorflow/tensorflow/stream_executor/tpu/
Dtpu_executor.cc40 ::stream_executor::DeviceOptions device_options) { in Init() argument
44 device_options.flags()); in Init()
Dtpu_executor.h67 ::stream_executor::DeviceOptions device_options) override;
Dtpu_executor_c_api.h46 SE_DeviceOptions* device_options, TF_Status* status);
/external/tensorflow/tensorflow/stream_executor/gpu/
DBUILD70 "//tensorflow/stream_executor:device_options",
Dgpu_executor.h62 port::Status Init(int device_ordinal, DeviceOptions device_options) override;
Dgpu_driver.h221 const DeviceOptions& device_options,

12