| 109 | } |
| 110 | |
| 111 | port::StatusOr<StreamExecutor*> ROCmPlatform::ExecutorForDevice(int ordinal) { |
| 112 | StreamExecutorConfig config; |
| 113 | config.ordinal = ordinal; |
| 114 | config.plugin_config = PluginConfig(); |
| 115 | config.device_options = DeviceOptions::Default(); |
| 116 | return GetExecutor(config); |
| 117 | } |
| 118 | |
| 119 | port::StatusOr<StreamExecutor*> ROCmPlatform::ExecutorForDeviceWithPluginConfig( |
| 120 | int device_ordinal, const PluginConfig& plugin_config) { |
nothing calls this directly
no test coverage detected