Home
last modified time | relevance | path

Searched refs:DeviceOptions (Results 1 – 23 of 23) sorted by relevance

/external/tensorflow/tensorflow/stream_executor/
Ddevice_options.h36 struct DeviceOptions { struct
57 explicit DeviceOptions(unsigned flags) : flags_(flags) { in DeviceOptions() function
62 static DeviceOptions Default() { return DeviceOptions(0); } in Default() argument
66 bool operator==(const DeviceOptions& other) const { argument
71 bool operator!=(const DeviceOptions& other) const {
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;
Dstream_executor_internal.h179 DeviceOptions device_options) = 0;
Dstream_executor_pimpl.cc186 port::Status StreamExecutor::Init(DeviceOptions device_options) { in Init()
190 port::Status StreamExecutor::Init() { return Init(DeviceOptions::Default()); } in Init()
Dstream_executor_pimpl.h83 port::Status Init(DeviceOptions device_options);
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_platform.cc41 const DeviceOptions GetDeviceOptionsFromEnv() { in GetDeviceOptionsFromEnv()
46 return DeviceOptions::Default(); in GetDeviceOptionsFromEnv()
51 device_flags = DeviceOptions::kScheduleSpin; in GetDeviceOptionsFromEnv()
53 device_flags = DeviceOptions::kScheduleYield; in GetDeviceOptionsFromEnv()
55 device_flags = DeviceOptions::kScheduleBlockingSync; in GetDeviceOptionsFromEnv()
64 return DeviceOptions(device_flags); in GetDeviceOptionsFromEnv()
Dcuda_driver.cc366 bool DeviceOptionsToContextFlags(const DeviceOptions& device_options, in DeviceOptionsToContextFlags()
368 static_assert(DeviceOptions::kMask == 0xf, in DeviceOptionsToContextFlags()
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()
Dcuda_gpu_executor.cc131 DeviceOptions device_options) { in Init()
/external/tensorflow/tensorflow/stream_executor/host/
Dhost_platform.cc53 config.device_options = DeviceOptions::Default(); in ExecutorForDevice()
62 config.device_options = DeviceOptions::Default(); in ExecutorForDeviceWithPluginConfig()
Dhost_gpu_executor.h51 port::Status Init(int device_ordinal, DeviceOptions device_options) override;
Dhost_gpu_executor.cc49 DeviceOptions device_options) { in Init()
/external/tensorflow/tensorflow/compiler/xla/service/interpreter/
Dplatform.cc55 config.device_options = DeviceOptions::Default(); in ExecutorForDevice()
65 config.device_options = DeviceOptions::Default(); in ExecutorForDeviceWithPluginConfig()
Dexecutor.h56 port::Status Init(int device_ordinal, DeviceOptions device_options) override { in Init()
/external/tensorflow/tensorflow/stream_executor/rocm/
Drocm_platform.cc116 config.device_options = DeviceOptions::Default(); in ExecutorForDevice()
125 config.device_options = DeviceOptions::Default(); in ExecutorForDeviceWithPluginConfig()
Drocm_driver.cc345 bool DeviceOptionsToContextFlags(const DeviceOptions& device_options, in DeviceOptionsToContextFlags()
347 static_assert(DeviceOptions::kMask == 0xf, in DeviceOptionsToContextFlags()
353 int device_ordinal, hipDevice_t device, const DeviceOptions& device_options, in CreateContext()
Drocm_gpu_executor.cc161 DeviceOptions device_options) { in Init()
/external/tensorflow/tensorflow/stream_executor/tpu/
Dc_api_defn.h63 stream_executor::DeviceOptions options;
Dtpu_executor.h67 ::stream_executor::DeviceOptions device_options) override;
Dtpu_executor.cc40 ::stream_executor::DeviceOptions device_options) { in Init()
/external/tensorflow/tensorflow/stream_executor/gpu/
Dgpu_executor.h62 port::Status Init(int device_ordinal, DeviceOptions device_options) override;
Dgpu_driver.h221 const DeviceOptions& device_options,
/external/tensorflow/tensorflow/c/experimental/stream_executor/
Dstream_executor.cc257 port::Status Init(int device_ordinal, DeviceOptions device_options) override { in Init()