Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/stream_executor/
Dexecutor_cache.cc47 iter.first.device_options == config.device_options) { in GetOrCreate()
87 iter.first.device_options == config.device_options) { in Get()
DBUILD62 "device_options.h",
117 "device_options.h",
354 name = "device_options",
355 hdrs = ["device_options.h"],
366 "device_options.h",
498 ":device_options",
575 "device_options.h",
Dplatform.cc84 : ordinal(-1), device_options(DeviceOptions::Default()) {} in StreamExecutorConfig()
87 : ordinal(ordinal_in), device_options(DeviceOptions::Default()) {} in StreamExecutorConfig()
Dplatform.h87 DeviceOptions device_options; member
Dstream_executor_internal.h180 DeviceOptions device_options) = 0;
Dstream_executor_pimpl.cc225 DeviceOptions device_options) { in Init() argument
227 return implementation_->Init(device_ordinal, std::move(device_options)); in Init()
Dstream_executor_pimpl.h83 port::Status Init(int device_ordinal, DeviceOptions device_options);
/external/tensorflow/tensorflow/stream_executor/host/
Dhost_platform.cc48 config.device_options = DeviceOptions::Default(); in ExecutorForDevice()
57 config.device_options = DeviceOptions::Default(); in ExecutorForDeviceWithPluginConfig()
71 auto init_status = executor->Init(config.ordinal, config.device_options); in GetUncachedExecutor()
Dhost_gpu_executor.h49 port::Status Init(int device_ordinal, DeviceOptions device_options) override { in Init() argument
/external/tensorflow/tensorflow/compiler/xla/service/interpreter/
Dplatform.cc51 config.device_options = DeviceOptions::Default(); in ExecutorForDevice()
61 config.device_options = DeviceOptions::Default(); in ExecutorForDeviceWithPluginConfig()
76 auto init_status = executor->Init(config.ordinal, config.device_options); in GetUncachedExecutor()
Dexecutor.h57 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()
139 auto init_status = executor->Init(config.ordinal, config.device_options); in GetUncachedExecutor()
DBUILD56 "//tensorflow/stream_executor:device_options",
Drocm_gpu_executor.cc144 DeviceOptions device_options) { in Init() argument
157 status = GpuDriver::CreateContext(device_ordinal_, device_, device_options, in Init()
Drocm_driver.cc355 bool DeviceOptionsToContextFlags(const DeviceOptions& device_options, in DeviceOptionsToContextFlags() argument
363 int device_ordinal, hipDevice_t device, const DeviceOptions& device_options, in CreateContext() argument
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_platform.cc150 config.device_options = GetDeviceOptionsFromEnv(); in ExecutorForDevice()
159 config.device_options = GetDeviceOptionsFromEnv(); in ExecutorForDeviceWithPluginConfig()
173 auto init_status = executor->Init(config.ordinal, config.device_options); in GetUncachedExecutor()
Dcuda_driver.cc369 bool DeviceOptionsToContextFlags(const DeviceOptions& device_options, in DeviceOptionsToContextFlags() argument
374 if (device_options.flags() & DeviceOptions::kDoNotReclaimStackAllocation) { in DeviceOptionsToContextFlags()
380 if (device_options.flags() & DeviceOptions::kScheduleSpin) { in DeviceOptionsToContextFlags()
383 if (device_options.flags() & DeviceOptions::kScheduleYield) { in DeviceOptionsToContextFlags()
386 if (device_options.flags() & DeviceOptions::kScheduleBlockingSync) { in DeviceOptionsToContextFlags()
394 int device_ordinal, CUdevice device, const DeviceOptions& device_options, in CreateContext() argument
399 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()
DBUILD99 "//tensorflow/stream_executor:device_options",
/external/tensorflow/tensorflow/stream_executor/gpu/
DBUILD59 "//tensorflow/stream_executor:device_options",
Dgpu_executor.h62 port::Status Init(int device_ordinal, DeviceOptions device_options) override;
Dgpu_driver.h164 const DeviceOptions& device_options,