| 46 | } |
| 47 | |
| 48 | port::StatusOr<StreamExecutor*> HostPlatform::ExecutorForDevice(int ordinal) { |
| 49 | StreamExecutorConfig config; |
| 50 | config.ordinal = ordinal; |
| 51 | config.plugin_config = PluginConfig(); |
| 52 | config.device_options = DeviceOptions::Default(); |
| 53 | return GetExecutor(config); |
| 54 | } |
| 55 | |
| 56 | port::StatusOr<StreamExecutor*> HostPlatform::ExecutorForDeviceWithPluginConfig( |
| 57 | int device_ordinal, const PluginConfig& plugin_config) { |