MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / ExecutorForDevice

Method ExecutorForDevice

tensorflow/stream_executor/rocm/rocm_platform.cc:111–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111port::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
119port::StatusOr<StreamExecutor*> ROCmPlatform::ExecutorForDeviceWithPluginConfig(
120 int device_ordinal, const PluginConfig& plugin_config) {

Callers

nothing calls this directly

Calls 2

PluginConfigClass · 0.85
DefaultFunction · 0.85

Tested by

no test coverage detected