Home
last modified time | relevance | path

Searched refs:DeviceOptions (Results 1 – 18 of 18) 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
70 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.h87 DeviceOptions device_options;
Dstream_executor_internal.h180 DeviceOptions device_options) = 0;
Dstream_executor_pimpl.cc225 DeviceOptions device_options) { in Init()
231 return Init(0, DeviceOptions::Default()); in Init()
Dstream_executor_pimpl.h83 port::Status Init(int device_ordinal, DeviceOptions device_options);
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_platform.cc38 const DeviceOptions GetDeviceOptionsFromEnv() { in GetDeviceOptionsFromEnv()
43 return DeviceOptions::Default(); in GetDeviceOptionsFromEnv()
48 device_flags = DeviceOptions::kScheduleSpin; in GetDeviceOptionsFromEnv()
50 device_flags = DeviceOptions::kScheduleYield; in GetDeviceOptionsFromEnv()
52 device_flags = DeviceOptions::kScheduleBlockingSync; in GetDeviceOptionsFromEnv()
61 return DeviceOptions(device_flags); in GetDeviceOptionsFromEnv()
Dcuda_driver.cc369 bool DeviceOptionsToContextFlags(const DeviceOptions& device_options, in DeviceOptionsToContextFlags()
371 static_assert(DeviceOptions::kMask == 0xf, in DeviceOptionsToContextFlags()
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()
Dcuda_gpu_executor.cc131 DeviceOptions device_options) { in Init()
/external/tensorflow/tensorflow/stream_executor/host/
Dhost_platform.cc48 config.device_options = DeviceOptions::Default(); in ExecutorForDevice()
57 config.device_options = DeviceOptions::Default(); in ExecutorForDeviceWithPluginConfig()
Dhost_gpu_executor.h49 port::Status Init(int device_ordinal, DeviceOptions device_options) override { in Init()
/external/tensorflow/tensorflow/compiler/xla/service/interpreter/
Dplatform.cc51 config.device_options = DeviceOptions::Default(); in ExecutorForDevice()
61 config.device_options = DeviceOptions::Default(); in ExecutorForDeviceWithPluginConfig()
Dexecutor.h57 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.cc355 bool DeviceOptionsToContextFlags(const DeviceOptions& device_options, in DeviceOptionsToContextFlags()
357 static_assert(DeviceOptions::kMask == 0xf, in DeviceOptionsToContextFlags()
363 int device_ordinal, hipDevice_t device, const DeviceOptions& device_options, in CreateContext()
Drocm_gpu_executor.cc144 DeviceOptions device_options) { in Init()
/external/tensorflow/tensorflow/stream_executor/gpu/
Dgpu_driver.h164 const DeviceOptions& device_options,
Dgpu_executor.h62 port::Status Init(int device_ordinal, DeviceOptions device_options) override;